mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 01:44:25 +04:00
Remove old vercel.json configuration and migrate redirects to docs/vercel.json
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
{
|
{
|
||||||
"trailingSlash": false,
|
"trailingSlash": false,
|
||||||
|
"redirects": [
|
||||||
|
{
|
||||||
|
"source": "/",
|
||||||
|
"destination": "/ui",
|
||||||
|
"permanent": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"rewrites": [
|
"rewrites": [
|
||||||
{
|
{
|
||||||
"source": "/stats/js/script.js",
|
"source": "/stats/js/script.js",
|
||||||
@@ -17,6 +24,7 @@
|
|||||||
"source": "/eat/:path(.*)",
|
"source": "/eat/:path(.*)",
|
||||||
"destination": "https://eu.i.posthog.com/:path*"
|
"destination": "https://eu.i.posthog.com/:path*"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"source": "/(.*)",
|
"source": "/(.*)",
|
||||||
"destination": "/error-404.html"
|
"destination": "/error-404.html"
|
||||||
|
|||||||
10
vercel.json
10
vercel.json
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"redirects": [
|
|
||||||
{
|
|
||||||
"source": "/",
|
|
||||||
"destination": "/ui",
|
|
||||||
"permanent": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user