summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/vercel.json10
-rw-r--r--vercel.json5
-rw-r--r--www/vercel.json15
3 files changed, 25 insertions, 5 deletions
diff --git a/docs/vercel.json b/docs/vercel.json
new file mode 100644
index 000000000..93f804282
--- /dev/null
+++ b/docs/vercel.json
@@ -0,0 +1,10 @@
+{
+ "cleanUrls": true,
+ "trailingSlash": false,
+ "redirects": [
+ {
+ "source": "/",
+ "destination": "/getting-started"
+ }
+ ]
+}
diff --git a/vercel.json b/vercel.json
deleted file mode 100644
index b7bac0e99..000000000
--- a/vercel.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "cleanUrls": true,
- "trailingSlash": false,
- "redirects": [{ "source": "/chat", "destination": "https://discord.gg/grF4GTXXYm" }]
-}
diff --git a/www/vercel.json b/www/vercel.json
new file mode 100644
index 000000000..25bfe6ed5
--- /dev/null
+++ b/www/vercel.json
@@ -0,0 +1,15 @@
+{
+ "cleanUrls": true,
+ "trailingSlash": false,
+ "redirects": [
+ {
+ "source": "/docs/:match*",
+ "destination": "https://docs.astro.build/:match*",
+ "permanent": false
+ },
+ {
+ "source": "/chat",
+ "destination": "https://discord.gg/grF4GTXXYm"
+ }
+ ]
+}