1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-02 03:25:53 +01:00
excalidraw/vercel.json
2024-07-30 10:34:40 +02:00

71 lines
1.5 KiB
JSON

{
"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"
}