mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-03 10:00:22 +08:00
fix(mcp-server): restrict CORS to same-origin only
Replace wildcard `Access-Control-Allow-Origin: *` with same-origin check, preventing external websites from accessing MCP server APIs via cross-origin requests.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@next-ai-drawio/mcp-server",
|
||||
"version": "0.1.16",
|
||||
"version": "0.1.17",
|
||||
"description": "MCP server for Next AI Draw.io - AI-powered diagram generation with real-time browser preview",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
|
||||
Reference in New Issue
Block a user