fix(vercel): add /index suffix to dst

This commit is contained in:
Pooya Parsa 2020-11-10 20:35:56 +01:00
parent a6c4a7e2cd
commit 2c4b857893

View File

@ -39,7 +39,7 @@ async function writeRoutes ({ targetDir }) {
},
{
src: '(.*)',
dest: '/.vercel/functions/_nuxt'
dest: '/.vercel/functions/_nuxt/index'
}
]