Skip to content

Commit c78fafb

Browse files
committed
chore: port type casting
1 parent 25a3039 commit c78fafb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servers/mumu/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ app.get("/health", (_req, res) => {
2828
res.status(200).json({ status: "ok" });
2929
});
3030

31-
const port = process.env.PORT || 3000;
31+
const port = Number(process.env.PORT) || 3000;
3232

3333
app.listen(port, () => {
3434
console.log(`mumu server running on port:${port}`);

0 commit comments

Comments
 (0)