diff --git a/frontend/src/components/Sidebar.vue b/frontend/src/components/Sidebar.vue
index 25b9fce1..9b284a8d 100644
--- a/frontend/src/components/Sidebar.vue
+++ b/frontend/src/components/Sidebar.vue
@@ -82,7 +82,9 @@
diff --git a/http/static.go b/http/static.go
index 9ae5485b..f438d76c 100644
--- a/http/static.go
+++ b/http/static.go
@@ -27,23 +27,23 @@ func handleWithStaticData(w http.ResponseWriter, _ *http.Request, d *data, fSys
}
data := map[string]interface{}{
- "Name": d.settings.Branding.Name,
- "DisableExternal": d.settings.Branding.DisableExternal,
+ "Name": d.settings.Branding.Name,
+ "DisableExternal": d.settings.Branding.DisableExternal,
"DisableUsedPercentage": d.settings.Branding.DisableUsedPercentage,
- "Color": d.settings.Branding.Color,
- "BaseURL": d.server.BaseURL,
- "Version": version.Version,
- "StaticURL": path.Join(d.server.BaseURL, "/static"),
- "Signup": d.settings.Signup,
- "NoAuth": d.settings.AuthMethod == auth.MethodNoAuth,
- "AuthMethod": d.settings.AuthMethod,
- "LoginPage": auther.LoginPage(),
- "CSS": false,
- "ReCaptcha": false,
- "Theme": d.settings.Branding.Theme,
- "EnableThumbs": d.server.EnableThumbnails,
- "ResizePreview": d.server.ResizePreview,
- "EnableExec": d.server.EnableExec,
+ "Color": d.settings.Branding.Color,
+ "BaseURL": d.server.BaseURL,
+ "Version": version.Version,
+ "StaticURL": path.Join(d.server.BaseURL, "/static"),
+ "Signup": d.settings.Signup,
+ "NoAuth": d.settings.AuthMethod == auth.MethodNoAuth,
+ "AuthMethod": d.settings.AuthMethod,
+ "LoginPage": auther.LoginPage(),
+ "CSS": false,
+ "ReCaptcha": false,
+ "Theme": d.settings.Branding.Theme,
+ "EnableThumbs": d.server.EnableThumbnails,
+ "ResizePreview": d.server.ResizePreview,
+ "EnableExec": d.server.EnableExec,
}
if d.settings.Branding.Files != "" {
diff --git a/settings/branding.go b/settings/branding.go
index f635ce35..cd196236 100644
--- a/settings/branding.go
+++ b/settings/branding.go
@@ -2,10 +2,10 @@ package settings
// Branding contains the branding settings of the app.
type Branding struct {
- Name string `json:"name"`
- DisableExternal bool `json:"disableExternal"`
+ Name string `json:"name"`
+ DisableExternal bool `json:"disableExternal"`
DisableUsedPercentage bool `json:"disableUsedPercentage"`
- Files string `json:"files"`
- Theme string `json:"theme"`
- Color string `json:"color"`
+ Files string `json:"files"`
+ Theme string `json:"theme"`
+ Color string `json:"color"`
}