From 8b8d573c275daec50c574f690c1e253a48be6a2b Mon Sep 17 00:00:00 2001 From: mpl Date: Tue, 11 Jun 2013 15:20:48 +0200 Subject: [PATCH] root page: added link to ui Change-Id: Ie9d0f7dba380a72f727ea1ed29685a0a01abfc1c --- pkg/server/root.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/server/root.go b/pkg/server/root.go index 56f5c4fce..67098bb59 100644 --- a/pkg/server/root.go +++ b/pkg/server/root.go @@ -142,11 +142,13 @@ func (rh *RootHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request) { configLink := "" if auth.IsLocalhost(req) { - configLink = "

If you're coming from localhost, hit /setup.

" + configLink = "

If you're coming from localhost, configure your Camlistore server at /setup.

" } fmt.Fprintf(rw, "This is camlistored, a "+ "Camlistore server."+ - "%s\n", configLink) + "%s"+ + "

To manage your content, access the /ui.

\n", + configLink) } type byFromTo []*SyncHandler