moazx commited on
Commit
dd40ffb
·
1 Parent(s): 2f9338d
Files changed (2) hide show
  1. main.py +0 -6
  2. vercel.json +2 -2
main.py DELETED
@@ -1,6 +0,0 @@
1
- """
2
- FastAPI entrypoint for Vercel deployment
3
- """
4
- from api.app import app
5
-
6
- # Vercel will automatically detect this file and serve the FastAPI app
 
 
 
 
 
 
 
vercel.json CHANGED
@@ -1,14 +1,14 @@
1
  {
2
  "builds": [
3
  {
4
- "src": "main.py",
5
  "use": "@vercel/python"
6
  }
7
  ],
8
  "routes": [
9
  {
10
  "src": "/(.*)",
11
- "dest": "main.py"
12
  }
13
  ]
14
  }
 
1
  {
2
  "builds": [
3
  {
4
+ "src": "start_api.py",
5
  "use": "@vercel/python"
6
  }
7
  ],
8
  "routes": [
9
  {
10
  "src": "/(.*)",
11
+ "dest": "start_api.py"
12
  }
13
  ]
14
  }