The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
add csp and content-type headers
Iniana59f37482b2f
diff --git a/studio/next.config.js b/studio/next.config.jsindex 2a78210b5b7..99b4b7d2513 100644--- a/studio/next.config.js+++ b/studio/next.config.js@@ -131,6 +131,19 @@ const nextConfig = {key: 'X-Frame-Options',value: 'DENY',},+ {+ key: 'X-Content-Type-Options',+ value: 'no-sniff',+ },+ {+ key: 'Content-Security-Policy',+ value: `+ frame-ancestors 'none';+ upgrade-insecure-requests;+ `+ .replace(/\s{2,}/g, ' ')+ .trim(),+ },{key: 'Referrer-Policy',value: 'strict-origin-when-cross-origin',