diff --git a/vercel.json b/vercel.json index 1951c29..7f2f351 100644 --- a/vercel.json +++ b/vercel.json @@ -1,16 +1,4 @@ { "version": 2, - "rewrites": [{ "source": "/:path*", "destination": "/index.html" }], - "routes": [ - { - "src": "/api/(.*)", - "dest": "/api/index.js", - "headers": { - "Access-Control-Allow-Origin": "*", - "Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS", - "Access-Control-Allow-Headers": "Content-Type, Accept, Authorization", - "Access-Control-Allow-Credentials": "true" - } - } - ] + "rewrites": [{ "source": "/:path*", "destination": "/index.html" }] }