We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/api/_hub/**
1 parent 46fc4e3 commit 98b3103Copy full SHA for 98b3103
src/features.ts
@@ -76,6 +76,8 @@ export function setupBase(nuxt: Nuxt, hub: HubConfig) {
76
nuxt.options.routeRules['/api/_hub/**'] = nuxt.options.routeRules['/api/_hub/**'] || {}
77
// @ts-expect-error csurf is not typed here
78
nuxt.options.routeRules['/api/_hub/**'].csurf = false
79
+ nuxt.options.routeRules['/api/_hub/**'].cache = false
80
+ nuxt.options.routeRules['/api/_hub/**'].prerender = false
81
// Add X-Robots-Tag: noindex
82
if (!nuxt.options.dev && hub.env === 'preview') {
83
nuxt.options.routeRules['/**'] ||= {}
0 commit comments