Skip to content

Commit 3285667

Browse files
Qoyyuumdoug-wade
authored andcommitted
TODO Get Port Dynamically (#975)
1 parent f7e825b commit 3285667

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/react-server-test-pages/middleware/RequestToPort.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ export default class RequestToPortMiddleware {
33
handleRoute(next){
44
if (typeof window === "undefined"){
55
ReactServerAgent.plugRequest(req => {
6-
// TODO: Get port dynamically?
76
req.urlPrefix('localhost:3000');
87
});
98
}

packages/react-server-website/middleware/RequestToPort.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ export default class RequestToPortMiddleware {
33
handleRoute(next){
44
if (typeof window === "undefined"){
55
ReactServerAgent.plugRequest(req => {
6-
// TODO: Get port dynamically?
76
req.urlPrefix('localhost:3010');
87
});
98
}

0 commit comments

Comments
 (0)