|
|
@ -84,8 +84,10 @@ export function useGlobalState(storageKey = 'nocodb-gui-v2'): State { |
|
|
|
set: (val) => (storage.value.token = val), |
|
|
|
set: (val) => (storage.value.token = val), |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const config = useRuntimeConfig() |
|
|
|
|
|
|
|
|
|
|
|
const appInfo = ref<AppInfo>({ |
|
|
|
const appInfo = ref<AppInfo>({ |
|
|
|
ncSiteUrl: BASE_FALLBACK_URL, |
|
|
|
ncSiteUrl: config.public.ncBackendUrl || BASE_FALLBACK_URL, |
|
|
|
authType: 'jwt', |
|
|
|
authType: 'jwt', |
|
|
|
connectToExternalDB: false, |
|
|
|
connectToExternalDB: false, |
|
|
|
defaultLimit: 0, |
|
|
|
defaultLimit: 0, |
|
|
|