Migrating from Vercel, vercel.json alternative

Hello everyone,

I am migrating my projects from Vercel but cant find a way to setup my project like I used to in vercel using a vercel.json that contains:


{
"headers": [
{
"source": "/assets/babylon/ext.babylon",
"headers": [
{
"key": "Accept-Encoding",
"value": "br"
},
{
"key": "content-encoding",
"value": "br"
}
]
}
],

"cleanUrls": true
}
I have some .babylon” files pre-compressed in brotli and just need the browser to use them.

Any idea in how to achieve this?
Was this page helpful?