35 lines
968 B
JavaScript
35 lines
968 B
JavaScript
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
|
|
const logoURL = `${staticURL}/img/logo.svg`
|
|
const noAuth = window.FileBrowser.NoAuth
|
|
const authMethod = window.FileBrowser.AuthMethod
|
|
const loginPage = window.FileBrowser.LoginPage
|
|
const theme = window.FileBrowser.Theme
|
|
const enableThumbs = window.FileBrowser.EnableThumbs
|
|
const resizePreview = window.FileBrowser.ResizePreview
|
|
const enableExec = window.FileBrowser.EnableExec
|
|
|
|
export {
|
|
name,
|
|
disableExternal,
|
|
baseURL,
|
|
logoURL,
|
|
recaptcha,
|
|
recaptchaKey,
|
|
signup,
|
|
version,
|
|
noAuth,
|
|
authMethod,
|
|
loginPage,
|
|
theme,
|
|
enableThumbs,
|
|
resizePreview,
|
|
enableExec
|
|
}
|