1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-26 11:16:12 +04:00

vercel config fix

This commit is contained in:
codecalm
2022-10-26 01:20:47 +02:00
parent e9f5df4f3b
commit 98df889173
2 changed files with 11 additions and 1 deletions

View File

@@ -2,5 +2,15 @@
"routes": [
{ "handle": "filesystem" },
{ "src": "/(.*)", "status": 404, "dest": "/error-404.html" }
],
"rewrites": [
{
"source": "/stats/js/script.js",
"destination": "https://plausible.io/js/script.js"
},
{
"source": "/stats/api/event",
"destination": "https://plausible.io/api/event"
}
]
}