以下代码没有发回响应,任何想法为什么?
var express = require('express'),
app1 = express(),
app2 = express();
app1.use(function(req, res, next) {
app2.emit('request', req, res);
});
app2.get('/', function(req, res) {
res.send("hi from app2");
});
app1.listen(80);