Skip to content

Commit

Permalink
Chore: expose cache-control headers
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Dec 17, 2024
1 parent 571c806 commit 18d55e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Build/build-public.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ export const buildPublic = task(require.main === module, __filename)(async (span
span,
[
'/*',
' cloudflare-cdn-cache-control: public, max-age=180, stale-while-revalidate=60, stale-if-error=30',
' cache-control: public, max-age=180, stale-while-revalidate=60, stale-if-error=30',
'https://:project.pages.dev/*',
' X-Robots-Tag: noindex',
'/Modules/*',
' content-type: text/plain; charset=utf-8',
'/List/*',
' content-type: text/plain; charset=utf-8'
],
path.join(PUBLIC_DIR, '_headers')
Expand Down

0 comments on commit 18d55e5

Please sign in to comment.