mirror of
https://github.com/outbackdingo/openapi-ui.git
synced 2026-01-27 18:19:50 +00:00
fix envs
This commit is contained in:
@@ -34,7 +34,8 @@ export const LOGOUT_URL = window._env_.LOGOUT_URL || import.meta.env.VITE_LOGOUT
|
||||
export const LOGIN_USERNAME_FIELD = window._env_.LOGIN_USERNAME_FIELD || import.meta.env.VITE_LOGIN_USERNAME_FIELD
|
||||
|
||||
export const BASE_REMOVE_BACKLINK =
|
||||
window._env_.REMOVE_BACKLINK === 'true' || import.meta.env.VITE_REMOVE_BACKLINK?.toString().toLowerCase() === 'true'
|
||||
window._env_.REMOVE_BACKLINK === 'true' ||
|
||||
(import.meta.env.DEV && import.meta.env.VITE_REMOVE_BACKLINK?.toString().toLowerCase() === 'true')
|
||||
export const BASE_REMOVE_BACKLINK_TEXT =
|
||||
window._env_.REMOVE_BACKLINK_TEXT === 'true' ||
|
||||
import.meta.env.VITE_REMOVE_BACKLINK_TEXT?.toString().toLowerCase() === 'true'
|
||||
(import.meta.env.DEV && import.meta.env.VITE_REMOVE_BACKLINK_TEXT?.toString().toLowerCase() === 'true')
|
||||
|
||||
Reference in New Issue
Block a user