Fix build 2

This commit is contained in:
Eric Fennis
2023-04-30 23:01:46 +02:00
parent 2c2c696097
commit 1a2baafed8
2 changed files with 18 additions and 11 deletions
+8 -1
View File
@@ -1,3 +1,10 @@
{
"cleanUrls" : true
"cleanUrls" : true,
"routes": [
{
"source": "/icon/:path*",
"destination": "/icons/:path*",
"permanent": true
}
]
}
+10 -10
View File
@@ -11,20 +11,20 @@ const vercelRouteConfig = {
{
handle: 'filesystem',
},
{
source: '/icon/:path*',
destination: '/icons/:path*',
permanent: true,
},
// {
// source: '/icon/:path*',
// destination: '/icons/:path*',
// permanent: true,
// },
{
src: '(?<url>/api/.*)',
dest: '/__nitro?url=$url',
},
{
src: '/(.*)',
// status: 404,
dest: '/404.html',
},
// {
// src: '/(.*)',
// status: 404,
// dest: '/static/404.html',
// },
],
};