Skip to content

Commit

Permalink
[AWS]#18 -test3
Browse files Browse the repository at this point in the history
  • Loading branch information
yoon1013 committed Jun 12, 2022
1 parent ff056ab commit a5496b8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,15 @@ async function readImageFile(file){
//서버 실행
//각자 ip주소 넣기, port: 3006 변경 금지!
//학교: 172.18.9.151 집: 172.30.1.25
/*
app.listen(3006, '34.64.86.124', (err)=> {
if(!err) {
console.log('server start');
}
})
})*/
app.listen(app.get('port'), ()=>{
console.log(app.get('port'), '번 포트에서 대기중');
});

//앱 로그인
app.post('/login', function(req, res) {
Expand Down

0 comments on commit a5496b8

Please sign in to comment.