How to remove CORS issue from backend from Vercel | Remove CORS from Vercel

preview_player
Показать описание
How to remove CORS issue from backend from Vercel | Remove CORS from Vercel
Рекомендации по теме
Комментарии
Автор

I stuck for this issue since 2 days, Now its resolve. Thanks a lot

maddogs
Автор

VOCÊ É O CARA, MEU CONSAGRADO! estava prestes a jogar meu pc pela janela, você salvou minha sanidade mental

igorfcesari
Автор

I was almost going crazy after deploying my API because I missed those few lines of code you just wrote. You deserve a cup of coffee! Thank you!

igboanugojennifer
Автор

Real life Hero .You solved it in less then 1 min

AhmadTauseef-luhe
Автор

Thanks a million, , i was facing this error. Now, all are fixed

livesport
Автор

where i have to add this vercel.json file

kamui
Автор

It will just throw a different error useless

ditsomusic
Автор

{
"version": 2,
"builds": [
{
"src": "/app.js",
}
],
"routes": [
{
"src": "/(.*)",
"dest": "/app.js",
"methods":["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"],
"headers":{
"*"
}
}
]
}

THANKS A LOT BRO!!

toohee