From 3830091dca93675a61280c6fd1d05b0b0e369f1a Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Wed, 2 Feb 2022 16:20:57 +0100 Subject: [PATCH 01/20] [core] Test vercel deployment --- vercel.json | 1 + 1 file changed, 1 insertion(+) diff --git a/vercel.json b/vercel.json index 74b98291002db4..3380bdd9976d0b 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,6 @@ { "github": { + "enabled": true, "autoJobCancelation": false, "silent": true }, From 277ab83f3a7946cf7a10dd6b93c879141dde494c Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Wed, 2 Feb 2022 17:00:07 +0100 Subject: [PATCH 02/20] remove "silent": true --- vercel.json | 1 - 1 file changed, 1 deletion(-) diff --git a/vercel.json b/vercel.json index 3380bdd9976d0b..62caed01ea6a51 100644 --- a/vercel.json +++ b/vercel.json @@ -2,7 +2,6 @@ "github": { "enabled": true, "autoJobCancelation": false, - "silent": true }, "public": true, "trailingSlash": true From db317dd2c56c15effc0d970edaca11ffec12fd92 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Wed, 2 Feb 2022 17:00:43 +0100 Subject: [PATCH 03/20] fix json --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 62caed01ea6a51..3d8c8fc6502f29 100644 --- a/vercel.json +++ b/vercel.json @@ -1,7 +1,7 @@ { "github": { "enabled": true, - "autoJobCancelation": false, + "autoJobCancelation": false }, "public": true, "trailingSlash": true From 4af387bbba28c10ec25b62ef6964db003252e0df Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Wed, 2 Feb 2022 17:03:25 +0100 Subject: [PATCH 04/20] Removed enabled option --- vercel.json | 1 - 1 file changed, 1 deletion(-) diff --git a/vercel.json b/vercel.json index 3d8c8fc6502f29..852ea89f49dd7b 100644 --- a/vercel.json +++ b/vercel.json @@ -1,6 +1,5 @@ { "github": { - "enabled": true, "autoJobCancelation": false }, "public": true, From 7b851bc259f3928d4da2d2878a963c84b7622652 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Wed, 2 Feb 2022 17:04:06 +0100 Subject: [PATCH 05/20] Restore previous config --- vercel.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 852ea89f49dd7b..74b98291002db4 100644 --- a/vercel.json +++ b/vercel.json @@ -1,6 +1,7 @@ { "github": { - "autoJobCancelation": false + "autoJobCancelation": false, + "silent": true }, "public": true, "trailingSlash": true From 97358b841b698217b4288f83c263015c5c6b1944 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Wed, 2 Feb 2022 17:09:16 +0100 Subject: [PATCH 06/20] re-order config --- vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index 74b98291002db4..48a51a2acd37e4 100644 --- a/vercel.json +++ b/vercel.json @@ -1,7 +1,7 @@ { "github": { - "autoJobCancelation": false, - "silent": true + "silent": true, + "autoJobCancelation": false }, "public": true, "trailingSlash": true From 08a4d661a84d1eb723eb789d5c22a916959e5903 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Thu, 3 Feb 2022 10:52:38 +0100 Subject: [PATCH 07/20] trigger build From 6fc73f68a60d23a7cb52d114d2c05b48e3b49108 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Thu, 3 Feb 2022 11:15:39 +0100 Subject: [PATCH 08/20] trigger build From d7595018bfb8ec9d9e473fe344979fef23f1d4f5 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Thu, 3 Feb 2022 12:17:02 +0100 Subject: [PATCH 09/20] trigger build From f5262a63f64d5ced8f467968305f8c2e40825581 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Fri, 4 Feb 2022 10:28:52 +0100 Subject: [PATCH 10/20] test url rewrites --- vercel.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 48a51a2acd37e4..c4a9dc6ea826b6 100644 --- a/vercel.json +++ b/vercel.json @@ -4,5 +4,11 @@ "autoJobCancelation": false }, "public": true, - "trailingSlash": true + "trailingSlash": true, + "rewrites": [ + { + "source": "/store/*", + "destination": "https://material-ui-store.netlify.app/:splat" + } + ] } From df5052f03608945dddb954b0a462318dd6e51ff3 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Fri, 4 Feb 2022 10:40:50 +0100 Subject: [PATCH 11/20] Try fixing the urls --- vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index c4a9dc6ea826b6..42e9683bc416ac 100644 --- a/vercel.json +++ b/vercel.json @@ -7,8 +7,8 @@ "trailingSlash": true, "rewrites": [ { - "source": "/store/*", - "destination": "https://material-ui-store.netlify.app/:splat" + "source": "/store/:path*", + "destination": "https://material-ui-store.netlify.app/:path*" } ] } From 269910cbc8a7034ef31252e4b8574a92b2e56c6b Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Fri, 4 Feb 2022 11:26:38 +0100 Subject: [PATCH 12/20] Try wtihout regexp --- vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index 42e9683bc416ac..727963fe27709d 100644 --- a/vercel.json +++ b/vercel.json @@ -7,8 +7,8 @@ "trailingSlash": true, "rewrites": [ { - "source": "/store/:path*", - "destination": "https://material-ui-store.netlify.app/:path*" + "source": "/store", + "destination": "https://material-ui-store.netlify.app/" } ] } From 0610238f54a2c29a1b1ad18b652e2c497a06efee Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Fri, 4 Feb 2022 12:03:18 +0100 Subject: [PATCH 13/20] trailing slash --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 727963fe27709d..a5f8969f2604ae 100644 --- a/vercel.json +++ b/vercel.json @@ -7,7 +7,7 @@ "trailingSlash": true, "rewrites": [ { - "source": "/store", + "source": "/store/", "destination": "https://material-ui-store.netlify.app/" } ] From f3be486c0898ce09245627e932baa298df5952fe Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Fri, 4 Feb 2022 13:31:10 +0100 Subject: [PATCH 14/20] Try fixing nested links --- vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index a5f8969f2604ae..c052aaf9fad702 100644 --- a/vercel.json +++ b/vercel.json @@ -7,8 +7,8 @@ "trailingSlash": true, "rewrites": [ { - "source": "/store/", - "destination": "https://material-ui-store.netlify.app/" + "source": "/store/:match*", + "destination": "https://material-ui-store.netlify.app/:match*" } ] } From a141f2aeb528e7798b58e6d6bc8a59d14c267ad7 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Fri, 4 Feb 2022 14:59:30 +0100 Subject: [PATCH 15/20] Maybe fix? --- vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index c052aaf9fad702..73cb348538fbc1 100644 --- a/vercel.json +++ b/vercel.json @@ -7,8 +7,8 @@ "trailingSlash": true, "rewrites": [ { - "source": "/store/:match*", - "destination": "https://material-ui-store.netlify.app/:match*" + "source": "/store/:match/*", + "destination": "https://material-ui-store.netlify.app/:match/*" } ] } From 6282fbb72b20445a2a70bde54071de9483055c7c Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Fri, 4 Feb 2022 15:09:52 +0100 Subject: [PATCH 16/20] Another try --- vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index 73cb348538fbc1..cc8ee787133b96 100644 --- a/vercel.json +++ b/vercel.json @@ -7,8 +7,8 @@ "trailingSlash": true, "rewrites": [ { - "source": "/store/:match/*", - "destination": "https://material-ui-store.netlify.app/:match/*" + "source": "/store/(.*)", + "destination": "https://material-ui-store.netlify.app/:splat*" } ] } From d790768b9a8ab540f8503baf44f8265ebfa30c16 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Tue, 8 Feb 2022 10:39:48 +0100 Subject: [PATCH 17/20] Another try --- vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index cc8ee787133b96..5a99ce26eb1916 100644 --- a/vercel.json +++ b/vercel.json @@ -7,8 +7,8 @@ "trailingSlash": true, "rewrites": [ { - "source": "/store/(.*)", - "destination": "https://material-ui-store.netlify.app/:splat*" + "source": "/store/:path*{/}?", + "destination": "https://material-ui-store.netlify.app/:path*{/}?" } ] } From 454fcfb78efd355824be7cf4b3662bd447d825b3 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Tue, 8 Feb 2022 11:26:22 +0100 Subject: [PATCH 18/20] Maybe fix --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 5a99ce26eb1916..284fbea2af6783 100644 --- a/vercel.json +++ b/vercel.json @@ -8,7 +8,7 @@ "rewrites": [ { "source": "/store/:path*{/}?", - "destination": "https://material-ui-store.netlify.app/:path*{/}?" + "destination": "https://material-ui-store.netlify.app/:path*" } ] } From aac147b3d31c56ab958e8127f76646b96e09e1b4 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Tue, 8 Feb 2022 11:48:39 +0100 Subject: [PATCH 19/20] Try this --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 284fbea2af6783..ae0076d023227e 100644 --- a/vercel.json +++ b/vercel.json @@ -7,7 +7,7 @@ "trailingSlash": true, "rewrites": [ { - "source": "/store/:path*{/}?", + "source": "/store/:path*{/}?$", "destination": "https://material-ui-store.netlify.app/:path*" } ] From eec1272d9d6b24d16ad0ae6c635f18774a43cec2 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Tue, 8 Feb 2022 12:03:23 +0100 Subject: [PATCH 20/20] Add slash in the end --- vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index ae0076d023227e..1c5211f618a45e 100644 --- a/vercel.json +++ b/vercel.json @@ -7,8 +7,8 @@ "trailingSlash": true, "rewrites": [ { - "source": "/store/:path*{/}?$", - "destination": "https://material-ui-store.netlify.app/:path*" + "source": "/store/:path*/", + "destination": "https://material-ui-store.netlify.app/:path*/" } ] }