Commit d4193f0
committed
fix: correct health check for user-provided API keys
- Environment validation no longer requires server-side API keys
- System is healthy when log directory is writable
- API connectivity only checked when keys are actually present
- Fixes Railway deployment showing incorrect 'unhealthy' status
This allows Railway app to be healthy without server-side environment
variables since users provide API keys through the web interface.1 parent c034f8d commit d4193f0
1 file changed
Lines changed: 9 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
100 | 95 | | |
101 | 96 | | |
102 | 97 | | |
| |||
335 | 330 | | |
336 | 331 | | |
337 | 332 | | |
338 | | - | |
339 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
340 | 339 | | |
341 | 340 | | |
342 | 341 | | |
| |||
0 commit comments