Browse Source

fix(gui-v2): ncSiteUrl in appInfo

pull/3273/head
Wing-Kam Wong 2 years ago
parent
commit
29c1083c28
  1. 2
      packages/nc-gui-v2/composables/useGlobal/state.ts

2
packages/nc-gui-v2/composables/useGlobal/state.ts

@ -77,7 +77,7 @@ export function useGlobalState(storageKey = 'nocodb-gui-v2'): State {
}) })
const appInfo = ref<AppInfo>({ const appInfo = ref<AppInfo>({
ncSiteUrl: 'http://localhost:8080', ncSiteUrl: process.env.NC_BACKEND_URL || (process.env.NODE_ENV === 'production' ? '..' : 'http://localhost:8080'),
authType: 'jwt', authType: 'jwt',
connectToExternalDB: false, connectToExternalDB: false,
defaultLimit: 0, defaultLimit: 0,

Loading…
Cancel
Save