Parcourir la source

외부접속 허용

[UC]임종현 il y a 7 mois
Parent
commit
f6b837f3ac
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      server.js

+ 1 - 1
server.js

@@ -19,6 +19,6 @@ app.post('/', (req, res) => {
 });
 
 // 서버 실행
-app.listen(PORT, () => {
+app.listen(PORT, '0.0.0.0', () => {
     console.log(`🚀 서버가 http://localhost:${PORT} 에서 실행 중입니다.`);
 });