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

This commit is contained in:
Waleed Latif
2025-06-28 11:35:07 -04:00
parent 3a48980916
commit fe5ce5a374

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',