2019-01-05 16:12:09 +00:00
|
|
|
const name = window.FileBrowser.Name || 'File Browser'
|
|
|
|
const disableExternal = window.FileBrowser.DisableExternal
|
|
|
|
const baseURL = window.FileBrowser.BaseURL
|
|
|
|
const staticURL = window.FileBrowser.StaticURL
|
|
|
|
const recaptcha = window.FileBrowser.ReCaptcha
|
|
|
|
const recaptchaKey = window.FileBrowser.ReCaptchaKey
|
|
|
|
const signup = window.FileBrowser.Signup
|
|
|
|
const version = window.FileBrowser.Version
|
2020-05-31 20:24:18 +00:00
|
|
|
const logoURL = `${staticURL}/img/logo.svg`
|
2019-01-05 16:12:09 +00:00
|
|
|
const noAuth = window.FileBrowser.NoAuth
|
2019-12-04 01:31:11 +00:00
|
|
|
const authMethod = window.FileBrowser.AuthMethod
|
2019-02-15 12:56:08 +00:00
|
|
|
const loginPage = window.FileBrowser.LoginPage
|
2020-01-02 00:48:48 +00:00
|
|
|
const theme = window.FileBrowser.Theme
|
2020-07-23 10:38:03 +00:00
|
|
|
const enableThumbs = window.FileBrowser.EnableThumbs
|
2020-08-18 13:08:58 +00:00
|
|
|
const resizePreview = window.FileBrowser.ResizePreview
|
2020-10-01 14:45:24 +00:00
|
|
|
const enableExec = window.FileBrowser.EnableExec
|
2019-01-05 16:12:09 +00:00
|
|
|
|
|
|
|
export {
|
|
|
|
name,
|
|
|
|
disableExternal,
|
|
|
|
baseURL,
|
|
|
|
logoURL,
|
|
|
|
recaptcha,
|
|
|
|
recaptchaKey,
|
|
|
|
signup,
|
|
|
|
version,
|
2019-02-15 12:56:08 +00:00
|
|
|
noAuth,
|
2019-12-04 01:31:11 +00:00
|
|
|
authMethod,
|
2020-01-02 00:48:48 +00:00
|
|
|
loginPage,
|
2020-07-23 10:38:03 +00:00
|
|
|
theme,
|
2020-08-18 13:08:58 +00:00
|
|
|
enableThumbs,
|
2020-10-01 14:45:24 +00:00
|
|
|
resizePreview,
|
|
|
|
enableExec
|
2019-01-05 16:12:09 +00:00
|
|
|
}
|