관리페이지 데이터 전송 오류 메세지 표시1
Deploy EG-BIM QA Gateway / deploy (push) Successful in 57s

This commit is contained in:
root
2026-09-21 15:13:32 +09:00
parent 50a540ed02
commit cb36c6e89f
5 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ export default {
headers.set('etag', object.httpEtag);
headers.set('x-content-type-options', 'nosniff');
headers.set('referrer-policy', 'strict-origin-when-cross-origin');
headers.set('cache-control', url.pathname.endsWith('.html') ? 'no-cache' : 'public, max-age=3600');
headers.set('cache-control', url.pathname.endsWith('.html') || url.pathname.endsWith('.js') ? 'no-cache' : 'public, max-age=3600');
return new Response(request.method === 'HEAD' ? null : object.body, { headers });
} catch (error) {
console.error(error);