Skip to content

Commit 067ff91

Browse files
committed
feat: 🎸 port
1 parent b558115 commit 067ff91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/backend/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const startServer = async () => {
6262
/* -------------------------------------------------------------------------------------------------
6363
* Serve
6464
* -----------------------------------------------------------------------------------------------*/
65-
const port = 3000;
65+
const port = process.env.PORT ? parseInt(process.env.PORT) : 3000;
6666
await freePort(port);
6767
const server = serve(
6868
{

0 commit comments

Comments
 (0)