1
0
Fork 0
mirror of synced 2024-07-02 21:10:43 +12:00

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

View file

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