mirror of
https://github.com/penpot/penpot-mcp.git
synced 2026-04-25 11:18:37 +00:00
Change default allowedHosts to [], allowing only local connections (as before)
This commit is contained in:
parent
b67e6abdd5
commit
4c875ba736
@ -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"],
|
||||
: [],
|
||||
},
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user