chore: move files to frontend
This commit is contained in:
24
frontend/src/utils/constants.js
Normal file
24
frontend/src/utils/constants.js
Normal file
@@ -0,0 +1,24 @@
|
||||
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 loginPage = window.FileBrowser.LoginPage
|
||||
|
||||
export {
|
||||
name,
|
||||
disableExternal,
|
||||
baseURL,
|
||||
logoURL,
|
||||
recaptcha,
|
||||
recaptchaKey,
|
||||
signup,
|
||||
version,
|
||||
noAuth,
|
||||
loginPage
|
||||
}
|
||||
Reference in New Issue
Block a user