diff --git a/vercel.json b/vercel.json index 756ac66..173ebb9 100644 --- a/vercel.json +++ b/vercel.json @@ -1,7 +1,20 @@ { "functions": { + "api/main.py": { + "runtime": "vercel/python@4.1.0" + }, "api/server.js": { "includeFiles": "db.json" } - } + }, + "rewrites": [ + { + "source": "/api/express/(.*)", + "destination": "api/server.js" + }, + { + "source": "/api/flask/(.*)", + "destination": "api/main.py" + } + ] }