Serve error-404.html as the Vercel 404 page (#2748)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Paweł KunaandCursor authored and GitHub committed 2026-07-31 22:44:06 +02:00
1 parent 9ea657bac6
commit 7305d84f2a
2 files changed
+17 -2

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@tabler/preview": patch
---
Fixed Vercel deployment to serve `error-404.html` as the custom 404 page.
+12 -2
View File
@@ -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"
}
] ]
} }