summaryrefslogtreecommitdiff
path: root/next.config.ts
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-11-03 17:21:09 +0900
committerjoonhoekim <26rote@gmail.com>2025-11-03 17:21:09 +0900
commitdf5a6201bdf8ff9edfc6429b918cf2fd2b245684 (patch)
tree2564a861f69b8803a29db7786bcf1113557ddd0f /next.config.ts
parent6653a4bdf9ac9d12037ac62cfe8c8d31d60cadd3 (diff)
(김준회) Revert: 로그인 영상 관련 커밋 revert 처리
Diffstat (limited to 'next.config.ts')
-rw-r--r--next.config.ts28
1 files changed, 0 insertions, 28 deletions
diff --git a/next.config.ts b/next.config.ts
index dda84568..44275452 100644
--- a/next.config.ts
+++ b/next.config.ts
@@ -10,34 +10,6 @@ const nextConfig: NextConfig = {
typescript: {
ignoreBuildErrors: true,
},
-
- // 정적 파일 캐싱 헤더 설정
- // 백그라운드 영상을 매번 다운로드 받는 문제 해결
- async headers() {
- return [
- {
- // 배경 영상 파일에 대한 캐시 헤더
- source: '/background-videos/:path*',
- headers: [
- {
- key: 'Cache-Control',
- // 1년간 캐시, immutable로 재검증 없이 사용
- value: 'public, max-age=31536000, immutable',
- },
- ],
- },
- {
- // 기타 정적 미디어 파일 (이미지, 폰트 등)
- source: '/public/:path*',
- headers: [
- {
- key: 'Cache-Control',
- value: 'public, max-age=31536000, immutable',
- },
- ],
- },
- ];
- },
webpack: (config) => {
// [김준회] turbo의 resolveAlias와 동일한 설정을 webpack에 적용
config.resolve.alias = {