Skip to content

Commit 68ed70c

Browse files
committed
feat(i18n): change default cache for /lunaria/status.json
1 parent 6a4aa00 commit 68ed70c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

nuxt.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,12 @@ export default defineNuxtConfig({
158158
'/_v/view': { proxy: 'https://npmx.dev/_vercel/insights/view' },
159159
'/_v/event': { proxy: 'https://npmx.dev/_vercel/insights/event' },
160160
'/_v/session': { proxy: 'https://npmx.dev/_vercel/insights/session' },
161+
// lunaria status.json
162+
'/lunaria/status.json': {
163+
headers: {
164+
'Cache-Control': 'public, max-age=0, must-revalidate',
165+
},
166+
},
161167
},
162168

163169
experimental: {

0 commit comments

Comments
 (0)