Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 6a345e1

Browse files
committedAug 27, 2015
no default port in browser
1 parent 53e5fe8 commit 6a345e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function IpfsAPI (host_or_multiaddr, port) {
2525
window && window.location) {
2626
var split = window.location.host.split(':')
2727
config.host = split[0]
28-
config.port = split[1] || 80
28+
config.port = split[1]
2929
}
3030

3131
// -- Internal

0 commit comments

Comments
 (0)
This repository has been archived.