Lee SeJin

Update port variable

...@@ -5,7 +5,7 @@ import "./models/User"; ...@@ -5,7 +5,7 @@ import "./models/User";
5 import app from "./server"; 5 import app from "./server";
6 6
7 7
8 -const PORT = 5500; 8 +const PORT = process.env.PORT || 5500;
9 const handleListening = () => console.log(`✅ Server running : http://localhost:${PORT}`); 9 const handleListening = () => console.log(`✅ Server running : http://localhost:${PORT}`);
10 10
11 app.listen(PORT, handleListening); 11 app.listen(PORT, handleListening);
...\ No newline at end of file ...\ No newline at end of file
......