Skip to content
Source
Sign inSign up
TanStack/router

fix: redirect respects rewrites #5315

Mergedschiller-manuel(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/5315/headmerged by schiller-manuel(GitHub profile, opens in a new tab)

Showing 7 changed files with 7 additions and 3 deletions (loading 4).

x
0 of 7 viewed, 7 left
1 addition and 1 deletionexamples/react/basic-ssr-file-based/src/entry-server.tsxModified
View file
@@ -18,7 +18,7 @@
res: express.Response
}) {
// Convert the express request to a fetch request
- const url = new URL(req.originalUrl || req.url, 'https://localhost:3000').href
+ const url = new URL(req.originalUrl || req.url, 'http://localhost:3000').href
​
const request = new Request(url, {
method: req.method,
1 addition and 1 deletionexamples/react/basic-ssr-streaming-file-based/src/entry-server.tsxModified
View file
@@ -18,7 +18,7 @@
res: express.Response
}) {
// Convert the express request to a fetch request
- const url = new URL(req.originalUrl || req.url, 'https://localhost:3000').href
+ const url = new URL(req.originalUrl || req.url, 'http://localhost:3000').href
​
const request = new Request(url, {
method: req.method,