Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func addConfigFlags(flags *pflag.FlagSet) {
flags.String("branding.theme", "", "set the theme")
flags.String("branding.color", "", "set the theme color")
flags.String("branding.files", "", "path to directory with images and custom styles")
flags.Bool("branding.disableExternal", false, "disable external links such as GitHub links")
flags.Bool("branding.disableUsedPercentage", false, "disable used disk percentage graph")
flags.Bool("branding.disableExternal", true, "disable external links such as GitHub links")
flags.Bool("branding.disableUsedPercentage", true, "disable used disk percentage graph")

flags.Uint64("tus.chunkSize", settings.DefaultTusChunkSize, "the tus chunk size")
flags.Uint16("tus.retryCount", settings.DefaultTusRetryCount, "the tus retry count")
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ import {
tmpDir,
trashDir,
quotaExists,
authMethod,
authLogoutURL,
} from "@/utils/constants";
import { files as api } from "@/api";
Expand Down Expand Up @@ -196,6 +197,7 @@ export default {
tmpDir: () => tmpDir,
trashDir: () => trashDir,
quotaExists: () => quotaExists,
authMethod: () => authMethod,
authLogoutURL: () => authLogoutURL,
},
asyncComputed: {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const tmpDir: string = window.FileBrowser.TmpDir;
const trashDir: string = window.FileBrowser.TrashDir;
const quotaExists: boolean = window.FileBrowser.QuotaExists;
const noAuth: boolean = window.FileBrowser.NoAuth;
const authMethod = window.FileBrowser.AuthMethod;
const authMethod: string = window.FileBrowser.AuthMethod;
const authLogoutURL: string = window.FileBrowser.AuthLogoutURL;
const logoutPage: string = window.FileBrowser.LogoutPage;
const loginPage: boolean = window.FileBrowser.LoginPage;
Expand Down
Loading