Commit cbb1f21
fix(relaycast): prevent URL double-path construction
When base URL already ends with /stream (e.g. wss://rt.relaycast.dev/stream),
avoid appending /v1/stream which produced invalid double-path URLs like
wss://host/stream/v1/stream. Now correctly preserves the existing /stream path.
Cherry-picked from PR #412.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 104c742 commit cbb1f21
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
| 308 | + | |
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| |||
0 commit comments