Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

Answer panel origins only through the CORS plugin

Sameh Khamis64c1b1951f49
diff --git a/build/vite.js b/build/vite.js
index 12915f72f..696c740de 100644
--- a/build/vite.js
+++ b/build/vite.js
@@ -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: {