From 0174ad394032a8dad81107341f477d6d23a3c04c Mon Sep 17 00:00:00 2001 From: dujinkim Date: Fri, 24 Oct 2025 09:52:35 +0000 Subject: (최겸) 구매 피드백 수정(PQ, 실사 등)-1024 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/vendor-regular-registrations/service.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/vendor-regular-registrations') 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로 수정 필요 -- cgit v1.2.3