Commit 089fb59
Fix dev URL redirect to preserve request path and query
The redirect to the dev server was using config.devUrl.href directly,
which always redirected to the dev server root regardless of the
incoming request path and query string. Now constructs the redirect
URL by combining the request's pathname and search with the dev origin.
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>1 parent e3ac9ed commit 089fb59
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| |||
0 commit comments