Minor cleanup, added strings, added more information to response when error occurs

This commit is contained in:
Andrey Meshkov
2019-02-07 14:22:08 +03:00
parent f2d7f8161b
commit bb8d7c37bb
5 changed files with 21 additions and 37 deletions

1
app.go
View File

@@ -149,6 +149,7 @@ func run(args options) {
// add handlers for /install paths, we only need them when we're not configured yet
if config.firstRun {
log.Printf("This is the first launch of AdGuard Home, redirecting everything to /install.html ")
http.Handle("/install.html", preInstallHandler(http.FileServer(box)))
registerInstallHandlers()
}