File size: 698 Bytes
2ee81a5
7ce0cc9
e8a9462
7ce0cc9
 
 
 
70459a5
 
 
 
 
 
2ee81a5
7ce0cc9
 
 
2ee81a5
7ce0cc9
 
2ee81a5
7ce0cc9
 
 
 
2ee81a5
 
7ce0cc9
 
 
 
2ee81a5
 
7ce0cc9
 
 
 
2ee81a5
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  "$schema": "https://openapi.vercel.sh/vercel.json",
  "regions": ["sin1"],
  "services": {
    "backend": {
      "root": "backend",
      "framework": "fastapi",
      "entrypoint": "main:app",
      "functions": {
        "main.py": {
          "maxDuration": 300
        }
      }
    },
    "frontend": {
      "root": "frontend",
      "framework": "vite"
    }
  },
  "rewrites": [
    {
      "source": "/api/(.*)",
      "destination": {
        "service": "backend"
      }
    },
    {
      "source": "/health",
      "destination": {
        "service": "backend"
      }
    },
    {
      "source": "/(.*)",
      "destination": {
        "service": "frontend"
      }
    }
  ]
}