mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 13:17:00 +04:00
Serve error-404.html as the Vercel 404 page (#2748)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
9ea657bac6
commit
7305d84f2a
2 files changed
+17
-2
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/preview": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fixed Vercel deployment to serve `error-404.html` as the custom 404 page.
|
||||||
+12
-2
@@ -1,5 +1,15 @@
|
|||||||
{
|
{
|
||||||
"redirects": [
|
"routes": [
|
||||||
{ "source": "/marketing", "destination": "/marketing.html", "permanent": true }
|
{
|
||||||
|
"src": "/marketing",
|
||||||
|
"status": 308,
|
||||||
|
"headers": { "Location": "/marketing.html" }
|
||||||
|
},
|
||||||
|
{ "handle": "filesystem" },
|
||||||
|
{
|
||||||
|
"src": "/(.*)",
|
||||||
|
"status": 404,
|
||||||
|
"dest": "/error-404.html"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user