Commit 6cdf0f0
fix(api): strip trailing slash from VITE_API_BASE
Prevents a double slash (https://host//generate) when the env var is set
with a trailing slash, which the backend 404s on.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 41bddda commit 6cdf0f0
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
0 commit comments