Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
7e26ef58
Unverified
Commit
7e26ef58
authored
Nov 05, 2018
by
Steven Allen
Committed by
GitHub
Nov 05, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5729 from dtkav/feat/cmd/webui-link
output link to WebUI on daemon startup
parents
c5c43794
c7e10f20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
cmd/ipfs/daemon.go
cmd/ipfs/daemon.go
+1
-1
test/sharness/t0060-daemon.sh
test/sharness/t0060-daemon.sh
+1
-0
No files found.
cmd/ipfs/daemon.go
View file @
7e26ef58
...
...
@@ -435,7 +435,7 @@ func serveHTTPApi(req *cmds.Request, cctx *oldcmds.Context) (<-chan error, error
// we might have listened to /tcp/0 - lets see what we are listing on
apiMaddr
=
apiLis
.
Multiaddr
()
fmt
.
Printf
(
"API server listening on %s
\n
"
,
apiMaddr
)
fmt
.
Printf
(
"WebUI: http://%s/webui
\n
"
,
apiLis
.
Addr
())
listeners
=
append
(
listeners
,
apiLis
)
}
...
...
test/sharness/t0060-daemon.sh
View file @
7e26ef58
...
...
@@ -46,6 +46,7 @@ test_expect_success "ipfs daemon output looks good" '
sed "s/^/Swarm listening on /" listen_addrs >>expected_daemon &&
sed "s/^/Swarm announcing /" local_addrs >>expected_daemon &&
echo "API server listening on '
$API_MADDR
'" >>expected_daemon &&
echo "WebUI: http://'
$API_ADDR
'/webui" >>expected_daemon &&
echo "Gateway (readonly) server listening on '
$GWAY_MADDR
'" >>expected_daemon &&
echo "Daemon is ready" >>expected_daemon &&
test_cmp expected_daemon actual_daemon
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment