diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-01 13:52:21 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-01 13:52:21 +0000 |
| commit | bac0228d21b7195065e9cddcc327ae33659c7bcc (patch) | |
| tree | 8f3016ae4533c8706d0c00a605d9b1d41968c2bc /lib/rfqs-tech/service.ts | |
| parent | 2fdce8d7a57c792bba0ac36fa554dca9c9cc31e3 (diff) | |
(대표님) 20250601까지 작업사항
Diffstat (limited to 'lib/rfqs-tech/service.ts')
| -rw-r--r-- | lib/rfqs-tech/service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rfqs-tech/service.ts b/lib/rfqs-tech/service.ts index cd4aeaf7..26012491 100644 --- a/lib/rfqs-tech/service.ts +++ b/lib/rfqs-tech/service.ts @@ -2210,7 +2210,7 @@ export async function uploadTbeResponseFile(formData: FormData) { const fileName = `${originalName.split(".")[0]}-${timestamp}.${fileExtension}` // 업로드 디렉토리 및 경로 정의 - const uploadDir = join(process.cwd(), "rfq", "tbe-responses") + const uploadDir = join(process.cwd(), "public", "rfq", "tbe-responses") // 디렉토리가 없으면 생성 try { @@ -2242,7 +2242,7 @@ export async function uploadTbeResponseFile(formData: FormData) { const technicalResponseId = technicalResponse[0].id; // 파일 정보를 데이터베이스에 저장 - const dbFilePath = `/rfq/tbe-responses/${fileName}` + const dbFilePath = `rfq/tbe-responses/${fileName}` // vendorResponseAttachments 테이블 스키마에 맞게 데이터 삽입 await db.insert(vendorResponseAttachments) |
