excalidraw/vercel.json
2025-04-13 17:46:38 -06:00

81 lines
1.7 KiB
JSON

{
"version": 2,
"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"
}
],
"builds": [
{
"src": "package.json",
"use": "@vercel/static-build",
"config": {
"distDir": "packages/excalidraw/dist",
"framework": "vite"
}
}
],
"outputDirectory": "packages/excalidraw/dist",
"installCommand": "yarn install"
}