chetantiwari commited on
Commit
dab37cd
·
1 Parent(s): 658a5c2
Files changed (1) hide show
  1. vercel.json +6 -7
vercel.json CHANGED
@@ -1,15 +1,14 @@
1
  {
2
  "version": 2,
3
- "builds": [
4
- {
5
- "src": "app/main.py",
6
- "use": "@vercel/python"
7
  }
8
- ],
9
  "routes": [
10
  {
11
  "src": "/(.*)",
12
- "dest": "/app/main.py"
13
  }
14
  ]
15
- }
 
1
  {
2
  "version": 2,
3
+ "functions": {
4
+ "api/index.py": {
5
+ "runtime": "@vercel/python"
 
6
  }
7
+ },
8
  "routes": [
9
  {
10
  "src": "/(.*)",
11
+ "dest": "/api/index.py"
12
  }
13
  ]
14
+ }