Difference between app.use(express.static(__dirname + '/public')) and app.use(express.static('public'));

后端 未结 0 1531
抹茶落季
抹茶落季 2021-01-21 13:59

I wonder if the following two are the same.

(1) app.use(express.static(__dirname + "/public"));
(2) app.use(expre         


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