배포용 수정

This commit is contained in:
dohyeons
2025-10-16 10:33:21 +09:00
parent 7e38f82d0c
commit 8f676c0a6d
9 changed files with 107 additions and 73 deletions

View File

@@ -59,11 +59,7 @@ export class MailReceiveBasicService {
try {
await fs.access(this.attachmentsDir);
} catch {
try {
await fs.mkdir(this.attachmentsDir, { recursive: true });
} catch (error) {
console.error("메일 첨부파일 디렉토리 생성 실패:", error);
}
await fs.mkdir(this.attachmentsDir, { recursive: true, mode: 0o755 });
}
}