diff --git a/studio/next.config.js b/studio/next.config.js index 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',