From d4e2b46584221774810e344977d83428de3b13f7 Mon Sep 17 00:00:00 2001 From: Petr Jasek Date: Tue, 26 Sep 2023 16:13:33 +0200 Subject: [PATCH] use test google auth config on cpcn-uat and test servers NHUB-389 --- client/src/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/auth.js b/client/src/auth.js index c5ca757..cf35417 100644 --- a/client/src/auth.js +++ b/client/src/auth.js @@ -10,7 +10,7 @@ let firebaseConfig = { messagingSenderId: '462735301864', }; -if (hostname.includes("cp-dev")) { +if (hostname.includes("cp-dev.") || hostname.includes("cpcn-uat.") || hostname.includes("test.superdesk.org")) { firebaseConfig = { apiKey: 'AIzaSyCWlQ7VjJZemeGjhs8DsRavoeEbX3Sa13A', authDomain: 'cp-identity-dev.firebaseapp.com',