koa server http proxy:一种koa http proxy 中间件 源码
koa-server-http-proxy koa2 http-proxy-middleware。 安装 $ npm install koa-server-http-proxy --save 例 const Koa = require ( 'koa' ) const app = new Koa ( ) const proxy = require ( 'koa-server-http-proxy' ) app . use ( proxy ( '/api' , { target : 'https://news-at.zhihu.com' , pathRewrite : { '^/api'
文件列表
koa-server-http-proxy-master.zip
(预估有个9文件)
koa-server-http-proxy-master
yarn.lock
30KB
README.md
1KB
exapmle
index.html
219B
app.js
807B
.editorconfig
41B
.gitignore
145B
_config.yml
25B
index.js
365B
暂无评论