Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update next.config.mjs

Jonathan Summers-Muir63893365df24
diff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjs
index 14cfd9cecc2..3597428a58e 100644
--- a/apps/docs/next.config.mjs
+++ b/apps/docs/next.config.mjs
@@ -50,6 +50,27 @@ const nextConfig = {
dangerouslyAllowSVG: true,
domains: ['avatars.githubusercontent.com', 'github.com', 'user-images.githubusercontent.com'],
},
+ async headers() {
+ return [
+ {
+ source: '/(.*)',
+ headers: [
+ {
+ key: 'Strict-Transport-Security',
+ value: '',
+ },
+ {
+ key: 'X-Robots-Tag',
+ value: 'all',
+ },
+ {
+ key: 'X-Frame-Options',
+ value: 'DENY',
+ },
+ ],
+ },
+ ]
+ },
}
// next.config.js