mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 02:14:01 +00:00
Answer panel origins only through the CORS plugin
This commit is contained in:
1 parent
282efac862
commit
64c1b1951f
1 file changed
-4
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user