Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 3516bb8

Browse files
ggarriAlan Shaw
authored and
Alan Shaw
committed
fix: correct redirect when it loads webui (#2697) (#2698)
Fix issue of invalid redirect to url 'http://undefined:9090/ipfs...' when webui URL is loaded License: MIT Signed-off-by: ggarri <gabriel@lightstreams.io>
1 parent 3aa219f commit 3516bb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/api/routes/webui.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = [
2020
const address = multiaddr(gateway).nodeAddress()
2121

2222
port = address.port
23-
host = address.host
23+
host = address.address
2424
} catch (err) {
2525
// may not have gateway configured
2626
log.error(err)

0 commit comments

Comments
 (0)