From 7776d61f82bc9f284f72190bf94d92c616941893 Mon Sep 17 00:00:00 2001 From: Gabriel Rosa Date: Thu, 23 Jun 2022 17:02:33 -0300 Subject: [PATCH] fix frontend redirect url --- src/modules/oauth/oauth.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/oauth/oauth.controller.ts b/src/modules/oauth/oauth.controller.ts index b9dab90..93f129f 100644 --- a/src/modules/oauth/oauth.controller.ts +++ b/src/modules/oauth/oauth.controller.ts @@ -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`;