Rename env vars prefix to ND_

This commit is contained in:
Deluan
2020-01-24 01:29:31 -05:00
parent d48ddacaba
commit bff6f3a4bd
18 changed files with 42 additions and 42 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ func (app *Router) routes() http.Handler {
r.Post("/login", Login(app.ds))
r.Route("/api", func(r chi.Router) {
if !conf.Sonic.DevDisableAuthentication {
if !conf.Server.DevDisableAuthentication {
r.Use(jwtauth.Verifier(TokenAuth))
r.Use(Authenticator)
}