Skip to content

Commit 8943188

Browse files
fix(cli): remove PORT env from express server (#766)
1 parent 3f864ca commit 8943188

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

apps/cli/templates/backend/server/express/src/index.ts.hbs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ app.get("/", (_req, res) => {
116116
res.status(200).send("OK");
117117
});
118118

119-
const port = env.PORT;
120-
app.listen(port, () => {
121-
console.log(`Server is running on port ${port}`);
119+
app.listen(3000, () => {
120+
console.log("Server is running on http://localhost:3000");
122121
});

0 commit comments

Comments
 (0)