aboutsummaryrefslogtreecommitdiffstats
path: root/vercel.json
diff options
context:
space:
mode:
Diffstat (limited to 'vercel.json')
-rw-r--r--vercel.json70
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"
+}