Commit 937503b
committed
fix: replace hardcoded BADGE_BASE_URL with NEXT_PUBLIC_SITE_URL env var
- BADGE_BASE_URL was hardcoded to https://commitpulse.vercel.app/api/streak
- Badge URLs generated in customize page always pointed to production
- Replace with NEXT_PUBLIC_SITE_URL env var with production fallback
- Consistent with BASE_URL pattern in dashboard/[username]/page.tsx1 parent 9b64cab commit 937503b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments