Express.js Error in rendering html files that are not named index

前端 未结 0 1571
温柔的废话
温柔的废话 2020-11-28 19:24

It doesn\'t give any sort of error when I use index.html but whenever I use any other name, it throws error. This is my code:- const express = require(\'express\'); const ap

相关标签:
回答
  • 消灭零回复
提交回复
热议问题