Skip to content

Commit

Permalink
add back port from env
Browse files Browse the repository at this point in the history
  • Loading branch information
0marA committed Jun 5, 2024
1 parent 6da9598 commit 230abdb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,5 @@ app.post("/uploadPart", upload.single("partUpload"), uploadFile);
app.get("/downloadPart", getFileDownloadURL);
app.post("/deletePart", deleteFile);

// app.listen((process.env.PORT || 5738, '0.0.0.0');
app.listen(5738, '0.0.0.0');
app.listen(Number(port), '0.0.0.0', () => console.log(`Server started on ${port}!`));

0 comments on commit 230abdb

Please sign in to comment.