TanStackT
TanStack8mo ago
4 replies
slow-yellow

Devinxi - Global headers Support?

Prior to devinxi i was using route rules to set the global headers whats the current recommendation for headers.
  routeRules: {
    '/**': {
      headers: {
        'Content-Security-Policy': cspHeaders.join('; '),
        'X-Content-Type-Options': 'nosniff',
        'X-Frame-Options': 'DENY',
        'Referrer-Policy': 'strict-origin-when-cross-origin',
        'Permissions-Policy': 'geolocation=(), camera=(), microphone=()',
      },
    },
Was this page helpful?