fix frontend redirect url

This commit is contained in:
Gabriel Rosa
2022-06-23 17:02:33 -03:00
parent 9bf7cc660e
commit 7776d61f82
+2 -2
View File
@@ -22,10 +22,10 @@ export class OauthController {
switch (process.env.ENV) {
case 'dev':
case 'stg':
this.frontendRedirectUri = `https://app.${process.env.ENV}.dadosfera.ai/auth-callback`;
this.frontendRedirectUri = `https://app.${process.env.ENV}.dadosfera.ai/coletix/auth-callback`;
break;
case 'prd':
this.frontendRedirectUri = `https://app.dadosfera.ai/auth-callback`;
this.frontendRedirectUri = `https://app.dadosfera.ai/coletix/auth-callback`;
break;
default:
this.frontendRedirectUri = `http://localhost:4200/coletix/auth-callback`;