From 27918a112c1846e18e07a4272314e2efa280734c Mon Sep 17 00:00:00 2001 From: Rijk van Zanten Date: Fri, 20 Dec 2024 17:31:24 -0500 Subject: [PATCH 1/4] Add Netlify reverse proxy for docs --- _redirects | 1 + 1 file changed, 1 insertion(+) create mode 100644 _redirects diff --git a/_redirects b/_redirects new file mode 100644 index 0000000..8fbbecf --- /dev/null +++ b/_redirects @@ -0,0 +1 @@ +/docs/* https://directus-docs-v2.netlify.app/docs/:splat 200! From 28052a02269a1f3dc3f04e4a014360807ff1b004 Mon Sep 17 00:00:00 2001 From: Rijk van Zanten Date: Fri, 20 Dec 2024 17:49:59 -0500 Subject: [PATCH 2/4] Move to public folder for netlify to pick it up --- _redirects | 1 - public/_redirects | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 _redirects create mode 100644 public/_redirects diff --git a/_redirects b/_redirects deleted file mode 100644 index 8fbbecf..0000000 --- a/_redirects +++ /dev/null @@ -1 +0,0 @@ -/docs/* https://directus-docs-v2.netlify.app/docs/:splat 200! diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 0000000..583a22b --- /dev/null +++ b/public/_redirects @@ -0,0 +1 @@ +/docs/* https://directus-docs-v2.netlify.app/:splat 200! From 3871b6a4768363552d2ad0c43aeee198bb3621f1 Mon Sep 17 00:00:00 2001 From: Rijk van Zanten Date: Sun, 22 Dec 2024 15:42:25 -0500 Subject: [PATCH 3/4] Use vercel instead for docs --- public/_redirects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/_redirects b/public/_redirects index 583a22b..2cc55b0 100644 --- a/public/_redirects +++ b/public/_redirects @@ -1 +1 @@ -/docs/* https://directus-docs-v2.netlify.app/:splat 200! +/docs/* https://docs-six-phi-91.vercel.app/:splat 200! From c6058d81cd2c6b7ae51d06dfc15f465de5a79c6d Mon Sep 17 00:00:00 2001 From: Rijk van Zanten Date: Sun, 22 Dec 2024 15:55:11 -0500 Subject: [PATCH 4/4] Fix splat path --- public/_redirects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/_redirects b/public/_redirects index 2cc55b0..dc28bf9 100644 --- a/public/_redirects +++ b/public/_redirects @@ -1 +1 @@ -/docs/* https://docs-six-phi-91.vercel.app/:splat 200! +/docs/* https://docs-six-phi-91.vercel.app/docs/:splat 200!