[BE/ 인증서버] Error: No default engine was specified and no extension was provided.
Closed this issue · 2 comments
ummaeha commented
ummaeha commented
제로초 왈: 아예 app.set('view')랑 app.set('view engine')을 빼버리고 res.render을 쓰지 마세요.
출처: https://www.inflearn.com/questions/158289
따라서, line 57을 render
에서 바꿔봄 res.json({ error: err });
결과: error(404)옴
404뜨지만 프론트쪽 문제도 아닌거같은게, POSTMAN에서도 에러나네요,,
ummaeha commented
request를 잘못보내서였음!