Commit 70d6d0a
fix: route stats API through path-based proxy on mainnet
- Add /stats-api/ handler in Caddy mainnet config (strips prefix, CORS)
- Update STATS_API_HOST from stats.doscan.io to doscan.io/stats-api
(stats.doscan.io blocked by Cloudflare WAF 403)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a16c70f commit 70d6d0a
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
0 commit comments