How to seperate a html file which is in the static folder to different route?

后端 未结 0 1696
刺人心
刺人心 2021-02-20 09:41
const express = require(\'express\');
const path = require(\'path\');

const app = express();

app.use(express.static(path.join(__dirname, \'templates\')));

app.get(\'l         


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