メール認証URLのドメインを環境変数で設定
This commit is contained in:
parent
33509fb228
commit
50cbcb1d81
@ -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/
|
||||
@ -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/
|
||||
@ -37,7 +37,7 @@ export class SendGridService {
|
||||
lifetime,
|
||||
privateKey,
|
||||
);
|
||||
const domains = 'http://127.0.0.1/';
|
||||
const domains = this.configService.get<string>('APP_DOMAIN');
|
||||
const path = 'mail-confirm/';
|
||||
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user