mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +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: {
|
fs: {
|
||||||
deny: ['.env', '.env.*', '*.{crt,pem}', '**/.git/**', '**/ENVIRONMENT'],
|
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.
|
// These headers protect the document containing Provider Settings.
|
||||||
// Embed-mode documents are framable instead; see embed-framing.js.
|
// Embed-mode documents are framable instead; see embed-framing.js.
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
Reference in new issue
Block a user