From f08a51cc346d776ea9960472d2cd717c60b22f6e Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Sat, 28 Jun 2025 11:35:07 -0400 Subject: [PATCH] fix(csp): update CSP to allow for google drive picker --- apps/sim/next.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sim/next.config.ts b/apps/sim/next.config.ts index 114b646d04..82ea739586 100644 --- a/apps/sim/next.config.ts +++ b/apps/sim/next.config.ts @@ -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',