Commit e4116e1
committed
fix: use env vars for api proxy ports with correct defaults
- API_V1_PORT defaults to 3000 (matching web's default)
- API_V2_PORT defaults to 5555 (matching api-v2's default)
- API_PROXY_PORT defaults to 3002
- Fixed route order: /v2 before / to prevent catch-all1 parent d9f2e09 commit e4116e1
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | | - | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
10 | | - | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
14 | | - | |
15 | | - | |
16 | 18 | | |
| 19 | + | |
17 | 20 | | |
18 | | - | |
| 21 | + | |
0 commit comments