diff options
| author | kj_sh604 | 2026-03-15 16:19:36 -0400 |
|---|---|---|
| committer | kj_sh604 | 2026-03-15 16:19:36 -0400 |
| commit | 298cab442c361e30ad7cd976d310156f5ae764bd (patch) | |
| tree | 8fe9af1c787588d3b960dde61912ed76e2f053be | |
| parent | 5eaa1b63ed842d1ac9d8903aebc5dc4d6c2a8c86 (diff) | |
refactor: vercel.json
| -rw-r--r-- | vercel.json | 70 |
1 files changed, 70 insertions, 0 deletions
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" +} |
