How to run more than one local node (express) app on single port on local machine?

前端 未结 0 1675
清酒与你
清酒与你 2021-02-05 05:08

I tried app.use : API\'s are not working getting 404

var express = require(\'express\');
var app = express();
app
  .use(\'/app\', require(\'../app1/app.js\').app         


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