diff options
author | 2021-07-20 14:04:35 -0500 | |
---|---|---|
committer | 2021-07-20 14:04:35 -0500 | |
commit | e129cde67d92b9d7732aadda4215e243c84deb60 (patch) | |
tree | af197f88dca031e8bf7541629aecb767edb52536 | |
parent | c044e62a08ff642a5ad06cf1dbba841012e1ce1c (diff) | |
download | astro-e129cde67d92b9d7732aadda4215e243c84deb60.tar.gz astro-e129cde67d92b9d7732aadda4215e243c84deb60.tar.zst astro-e129cde67d92b9d7732aadda4215e243c84deb60.zip |
chore: move vercel.json to subdirs (#776)
-rw-r--r-- | docs/vercel.json | 10 | ||||
-rw-r--r-- | vercel.json | 5 | ||||
-rw-r--r-- | www/vercel.json | 15 |
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" + } + ] +} |