From f2f09cc9c700f9f8ef3c9f26d8adafb155942b14 Mon Sep 17 00:00:00 2001 From: Gabriel Rosa Date: Mon, 24 Oct 2022 15:24:14 -0300 Subject: [PATCH] FIX: oauth redirect adjusted --- src/modules/oauth/oauth.controller.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/oauth/oauth.controller.ts b/src/modules/oauth/oauth.controller.ts index 3ed6297..6ad2da7 100644 --- a/src/modules/oauth/oauth.controller.ts +++ b/src/modules/oauth/oauth.controller.ts @@ -17,13 +17,13 @@ export class OauthController { switch (process.env.ENV) { case 'dev': case 'stg': - this.redirectUrl = `https://app.${process.env.ENV}.dadosfera.ai/coletix/auth-callback`; + this.redirectUrl = `https://app.${process.env.ENV}.dadosfera.ai/collect/auth-callback`; break; case 'prd': - this.redirectUrl = `https://app.dadosfera.ai/coletix/auth-callback`; + this.redirectUrl = `https://app.dadosfera.ai/collect/auth-callback`; break; default: - this.redirectUrl = `http://localhost:4200/coletix/auth-callback`; + this.redirectUrl = `http://localhost:4200/collect/auth-callback`; } } @Get('hubspot')