简介
使用 anyproxy 将一个资源代理带本地的某个地址
用例
anyproxy-map-res -p 8881 -m .*aaa/bbb.*/ -r http://localhost:8001/
这样,访问 http://xxxx.com/aaa/bbb/index.js 时候会被代理到 http://localhost:8001/index.js
使用 anyproxy 将一个资源代理带本地的某个地址
anyproxy-map-res -p 8881 -m .*aaa/bbb.*/ -r http://localhost:8001/
这样,访问 http://xxxx.com/aaa/bbb/index.js 时候会被代理到 http://localhost:8001/index.js
npm i anyproxy-map-res
3
1.1.2
none
30.4 kB
10