mirror of
https://github.com/documize/community.git
synced 2025-07-20 13:49:42 +02:00
fix db setup mode
This commit is contained in:
parent
3445994160
commit
1be2000bb7
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ func Serve(ready chan struct{}) {
|
||||||
case web.SiteModeOffline:
|
case web.SiteModeOffline:
|
||||||
log.Info("Serving OFFLINE web app")
|
log.Info("Serving OFFLINE web app")
|
||||||
case web.SiteModeSetup:
|
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")
|
log.Info("Serving SETUP web app")
|
||||||
case web.SiteModeBadDB:
|
case web.SiteModeBadDB:
|
||||||
log.Info("Serving BAD DATABASE web app")
|
log.Info("Serving BAD DATABASE web app")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue