diff --git a/vercel.json b/vercel.json index 6949dfcef..6a7c7d340 100644 --- a/vercel.json +++ b/vercel.json @@ -2,7 +2,7 @@ "public": true, "headers": [ { - "source": "/(.*)", + "source": "/", "headers": [ { "key": "Access-Control-Allow-Origin", @@ -22,6 +22,27 @@ } ] }, + { + "source": "/plus/", + "headers": [ + { + "key": "Access-Control-Allow-Origin", + "value": "https://plus.excalidraw.com" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "Feature-Policy", + "value": "*" + }, + { + "key": "Referrer-Policy", + "value": "origin" + } + ] + }, { "source": "/:file*.woff2", "headers": [ @@ -49,6 +70,9 @@ ] } ], + "rewrites": [ + {"source": "/plus/", "destination": "https://plus.excalidraw.com/"} + ], "redirects": [ { "source": "/webex/:match*",