Change default allowedHosts to [], allowing only local connections (as before)

This commit is contained in:
Dominik Jain 2026-01-12 20:20:57 +01:00
parent b67e6abdd5
commit 4c875ba736

View File

@ -28,6 +28,6 @@ export default defineConfig({
cors: true,
allowedHosts: process.env.PENPOT_MCP_PLUGIN_SERVER_ALLOWED_HOSTS
? process.env.PENPOT_MCP_PLUGIN_SERVER_ALLOWED_HOSTS.split(",").map((h) => h.trim())
: ["localhost", "0.0.0.0"],
: [],
},
});