Rename env vars prefix to ND_
This commit is contained in:
@@ -48,7 +48,7 @@ func (api *Router) routes() http.Handler {
|
||||
r.Use(checkRequiredParameters)
|
||||
|
||||
// Add validation middleware if not disabled
|
||||
if !conf.Sonic.DevDisableAuthentication {
|
||||
if !conf.Server.DevDisableAuthentication {
|
||||
r.Use(authenticate(api.Users))
|
||||
// TODO Validate version
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ func (c *BrowsingController) getArtistIndex(r *http.Request, ifModifiedSince tim
|
||||
}
|
||||
|
||||
res := &responses.Indexes{
|
||||
IgnoredArticles: conf.Sonic.IgnoredArticles,
|
||||
IgnoredArticles: conf.Server.IgnoredArticles,
|
||||
LastModified: fmt.Sprint(utils.ToMillis(lastModified)),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user