Adding a check to config for isDev - don't use multi-tenant google SSO default in dev.

This commit is contained in:
mike12345567 2023-03-28 18:14:04 +01:00
parent e181b5652a
commit b7fe83ad17
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ export async function getGoogleConfig(): Promise<
export async function getGoogleDatasourceConfig(): Promise< export async function getGoogleDatasourceConfig(): Promise<
GoogleInnerConfig | undefined GoogleInnerConfig | undefined
> { > {
if (!env.SELF_HOSTED) { if (!env.isDev() && !env.SELF_HOSTED) {
// always use the env vars in cloud // always use the env vars in cloud
return getDefaultGoogleConfig() return getDefaultGoogleConfig()
} }