From 1be2000bb7a0cd1f133a8e28630b4df6e9b257e7 Mon Sep 17 00:00:00 2001 From: Elliott Stoneham Date: Fri, 22 Jul 2016 16:22:06 +0100 Subject: [PATCH] fix db setup mode --- core/api/endpoint/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/api/endpoint/server.go b/core/api/endpoint/server.go index 79f8d0b3..d6175523 100644 --- a/core/api/endpoint/server.go +++ b/core/api/endpoint/server.go @@ -58,7 +58,7 @@ func Serve(ready chan struct{}) { case web.SiteModeOffline: log.Info("Serving OFFLINE web app") case web.SiteModeSetup: - Add(RoutePrefixPrivate, "/setup", []string{"POST", "OPTIONS"}, nil, database.Create) + Add(RoutePrefixPrivate, "setup", []string{"POST", "OPTIONS"}, nil, database.Create) log.Info("Serving SETUP web app") case web.SiteModeBadDB: log.Info("Serving BAD DATABASE web app")