0
我有以下代碼設置我的本地計算機上的兩臺主機:如何使用虛擬主機快遞
var express = require('express');
var app1 = express.createServer()
, app2 = express.createServer()
, main = express.createServer()
main.use(express.vhost('api.localhost:8000', app1)
.use(express.vhost('localhost:8000', app2))
,當我瀏覽到每臺終端的,我得到404'd。那是怎麼回事?