We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7912af commit ae138a8Copy full SHA for ae138a8
src/module.ts
@@ -326,7 +326,9 @@ export default defineNuxtModule<ModuleOptions>({
326
},
327
{
328
method: 'get',
329
- route: `${options.api.baseURL}/cache.json`,
+ route: nuxt.options.dev
330
+ ? `${options.api.baseURL}/cache.json`
331
+ : `${options.api.baseURL}/cache.${buildIntegrity}.json`,
332
handler: resolveRuntimeModule('./server/api/cache')
333
}
334
)
0 commit comments