From 298cab442c361e30ad7cd976d310156f5ae764bd Mon Sep 17 00:00:00 2001 From: kj_sh604 Date: Sun, 15 Mar 2026 16:19:36 -0400 Subject: refactor: vercel.json --- vercel.json | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..6949dfc --- /dev/null +++ b/vercel.json @@ -0,0 +1,70 @@ +{ + "public": true, + "headers": [ + { + "source": "/(.*)", + "headers": [ + { + "key": "Access-Control-Allow-Origin", + "value": "https://excalidraw.com" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "Feature-Policy", + "value": "*" + }, + { + "key": "Referrer-Policy", + "value": "origin" + } + ] + }, + { + "source": "/:file*.woff2", + "headers": [ + { + "key": "Cache-Control", + "value": "public, max-age=31536000" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "https://excalidraw.com" + } + ] + }, + { + "source": "/(Virgil|Cascadia|Assistant-Regular).woff2", + "headers": [ + { + "key": "Cache-Control", + "value": "public, max-age=31536000" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ] + } + ], + "redirects": [ + { + "source": "/webex/:match*", + "destination": "https://for-webex.excalidraw.com" + }, + { + "source": "/:path*", + "has": [ + { + "type": "host", + "value": "vscode.excalidraw.com" + } + ], + "destination": "https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor" + } + ], + "outputDirectory": "excalidraw-app/build", + "installCommand": "yarn install" +} -- cgit v1.2.3