Skip to content

Commit

Permalink
Não funcionou servir estático devido ao CORS, voltando a chamar a rot…
Browse files Browse the repository at this point in the history
…a /pallete
  • Loading branch information
erickweil committed Nov 9, 2024
1 parent dc63a32 commit 638f2bd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions backend/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@
{
"src": "server.js",
"use": "@vercel/node"
},
{
"src": "public/**",
"use": "@vercel/static"
}
],
"routes": [
{ "src": "/pallete", "dest": "public/pallete.json" },
{ "src": "(.*)", "dest": "server.js" }
]
}

0 comments on commit 638f2bd

Please sign in to comment.