koa-vhost
A vhost middleware for koa application.
Forked from koa-vhost
Install
npm i vhost-koa --save
or install from github
npm i JiangJie/koa-vhost --save
Example
let koa = ;let mount = ;let Router = ;let vhost = ; let app = ; let vhosts = '127.0.0.1' 'localhost'; vhosts = vhosts;app;