Repository navigation
Commit 755fa7c
committed
fix(app): Stripping the trailing slash from getCurrentUrl() since some consumer code is sensitive to it
For example, ~18 tests (e.g. e2e/regression/legacy-new-session.spec.ts) fail on "http://127.0.0.1:4096/", but succeed on "http://127.0.0.1:4096".
See https://github.com/anomalyco/opencode/actions/runs/31237532949/job/93052787926?pr=182091 parent 1c15cef commit 755fa7c
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
0 commit comments