summaryrefslogtreecommitdiff
path: root/lib/vendor-regular-registrations/service.ts
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-10-24 09:52:35 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-10-24 09:52:35 +0000
commit0174ad394032a8dad81107341f477d6d23a3c04c (patch)
tree6be84f638a852e6d0cea057b67e462e78fc65d41 /lib/vendor-regular-registrations/service.ts
parent912e2bc761d7d57bd33d68cb5050da43dea59636 (diff)
(최겸) 구매 피드백 수정(PQ, 실사 등)-1024
Diffstat (limited to 'lib/vendor-regular-registrations/service.ts')
-rw-r--r--lib/vendor-regular-registrations/service.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/vendor-regular-registrations/service.ts b/lib/vendor-regular-registrations/service.ts
index 08e5c9ef..e163b147 100644
--- a/lib/vendor-regular-registrations/service.ts
+++ b/lib/vendor-regular-registrations/service.ts
@@ -311,7 +311,8 @@ export async function sendMissingContractRequestEmails(vendorIds: number[]) {
const headersList = await headers();
const host = headersList.get('host') || 'localhost:3000';
- const protocol = process.env.NODE_ENV === 'production' ? 'https' : 'http';
+ // const protocol = process.env.NODE_ENV === 'production' ? 'https' : 'http';
+ const protocol ='http';// 운영 시점에서는 https로 변경
const baseUrl = `${protocol}://${host}`;
const contractManagementUrl = `${baseUrl}/ko/partners/basic-contract`; // 실제 기본계약 관리 페이지 URL로 수정 필요
@@ -392,7 +393,8 @@ export async function sendAdditionalInfoRequestEmails(vendorIds: number[]) {
const headersList = await headers();
const host = headersList.get('host') || 'localhost:3000';
- const protocol = process.env.NODE_ENV === 'production' ? 'https' : 'http';
+ // const protocol = process.env.NODE_ENV === 'production' ? 'https' : 'http';
+ const protocol ='http';// 운영 시점에서는 https로 변경
const baseUrl = `${protocol}://${host}`;
const vendorInfoUrl = `${baseUrl}/ko/partners/info`; // 실제 업체정보 관리 페이지 URL로 수정 필요