Answer panel origins only through the CORS plugin

This commit is contained in:
Sameh Khamis committed 2026-10-02 15:21:37 -07:00
1 parent 282efac862
commit 64c1b1951f
1 file changed
-4
-4
View File
@@ -84,10 +84,6 @@ export function createBrowserViteConfig({
fs: {
deny: ['.env', '.env.*', '*.{crt,pem}', '**/.git/**', '**/ENVIRONMENT'],
},
// Cross-origin reads: local pages, as Vite allows by default, plus the
// MCP Apps panels that load the app into a conversation (Claude's
// sandbox origins); see panelCorsPlugin. Development and preview only.
cors: { origin: PANEL_CORS_ORIGINS },
// These headers protect the document containing Provider Settings.
// Embed-mode documents are framable instead; see embed-framing.js.
headers: {