From fe69b087f6c38de0a8dd3c694233f2545e0c1da0 Mon Sep 17 00:00:00 2001 From: Milos Vetesnik Date: Fri, 9 Aug 2024 14:38:48 +0200 Subject: [PATCH 1/3] feat: testing LP --- vercel.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vercel.json b/vercel.json index 6949dfcef..4bc17770c 100644 --- a/vercel.json +++ b/vercel.json @@ -49,6 +49,9 @@ ] } ], + "rewrites": [ + {"source": "/plus/", "destination": "https://plus.excalidraw.com/"} + ], "redirects": [ { "source": "/webex/:match*", From 448f3723a36c0c0c72dd7e7c455ac21837e65bbc Mon Sep 17 00:00:00 2001 From: Milos Vetesnik Date: Fri, 20 Sep 2024 15:54:30 +0200 Subject: [PATCH 2/3] fix: testing headers fix for LP --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 4bc17770c..c6795655e 100644 --- a/vercel.json +++ b/vercel.json @@ -2,7 +2,7 @@ "public": true, "headers": [ { - "source": "/(.*)", + "source": "/", "headers": [ { "key": "Access-Control-Allow-Origin", From 6dec38f2917bb4e4f5720530eded770d0f041245 Mon Sep 17 00:00:00 2001 From: Milos Vetesnik Date: Fri, 20 Sep 2024 15:59:03 +0200 Subject: [PATCH 3/3] fix: testing headers --- vercel.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/vercel.json b/vercel.json index c6795655e..6a7c7d340 100644 --- a/vercel.json +++ b/vercel.json @@ -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": [