diff options
Diffstat (limited to 'next.config.ts')
| -rw-r--r-- | next.config.ts | 28 |
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 = { |
