fix(csp): update CSP to allow for google drive picker

This commit is contained in:
Waleed Latif
2025-06-28 11:36:57 -04:00
parent 2f8d9eaede
commit f08a51cc34
+1 -1
View File
@@ -132,7 +132,7 @@ const nextConfig: NextConfig = {
},
{
// For main app routes, Google Drive Picker, and Vercel resources - use permissive policies
source: '/(w/.*|api/tools/drive|_next/.*|_vercel/.*)',
source: '/(w/.*|workspace/.*|api/tools/drive|_next/.*|_vercel/.*)',
headers: [
{
key: 'Cross-Origin-Embedder-Policy',