const express = require('express');
const app = express();
app.use(express.static(__dirname));
app.listen(3000, function(){
console.log('Server On!');
});
이소스로 서버열어서 해결했어용.
너무 감사합니다 ㅠㅠ
근데 무슨기준인지 몰라도
localhost:3000 들어가면
index.html 이 먼저뜨네요.
hi.html 이런것들도 많은데말이죵
그래도 감사합니다 ㅠㅠ
형님 너무사랑해요 ㅠ
그거는 님이 옛날에 한거에서 캐시 남아서 그게 뜨는것같은데? 갠정보보호모드에서 들어가봐 - dc App