From 50cbcb1d81e612b223062f0d17662791f5eb4cb6 Mon Sep 17 00:00:00 2001 From: makabe Date: Tue, 11 Apr 2023 17:50:39 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A1=E3=83=BC=E3=83=AB=E8=AA=8D=E8=A8=BCUR?= =?UTF-8?q?L=E3=81=AE=E3=83=89=E3=83=A1=E3=82=A4=E3=83=B3=E3=82=92?= =?UTF-8?q?=E7=92=B0=E5=A2=83=E5=A4=89=E6=95=B0=E3=81=A7=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dictation_server/.env | 1 + dictation_server/.env.local.example | 1 + dictation_server/src/gateways/sendgrid/sendgrid.service.ts | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dictation_server/.env b/dictation_server/.env index 56547f3..8d0796d 100644 --- a/dictation_server/.env +++ b/dictation_server/.env @@ -12,3 +12,4 @@ REFRESH_TOKEN_LIFETIME_DEFAULT=2592000000 TENANT_NAME=adb2codmsdev SIGNIN_FLOW_NAME=b2c_1_signin_dev EMAIL_CONFIRM_LIFETIME=86400000 +APP_DOMAIN=https://10.1.0.10:4443/ \ No newline at end of file diff --git a/dictation_server/.env.local.example b/dictation_server/.env.local.example index 0e2b582..e721623 100644 --- a/dictation_server/.env.local.example +++ b/dictation_server/.env.local.example @@ -15,3 +15,4 @@ SENDGRID_API_KEY=xxxxxxxxxxxxxxxx MAIL_FROM=xxxxx@xxxxx.xxxx NOTIFICATION_HUB_NAME=ntf-odms-shared NOTIFICATION_HUB_CONNECT_STRING=XXXXXXXXXXXXXXXXXX +APP_DOMAIN=http://localhost:8081/ \ No newline at end of file diff --git a/dictation_server/src/gateways/sendgrid/sendgrid.service.ts b/dictation_server/src/gateways/sendgrid/sendgrid.service.ts index dbe51ed..b5ffe81 100644 --- a/dictation_server/src/gateways/sendgrid/sendgrid.service.ts +++ b/dictation_server/src/gateways/sendgrid/sendgrid.service.ts @@ -37,7 +37,7 @@ export class SendGridService { lifetime, privateKey, ); - const domains = 'http://127.0.0.1/'; + const domains = this.configService.get('APP_DOMAIN'); const path = 'mail-confirm/'; return {