yanproxy

0.0.4 • Public • Published

description

It's so light and simple todo server proxy. Just need a proxyConfig.js file to set proxy.

installation

npm install yanproxy

usage

yproxy proxyConfig.js

proxyConfig.js demo:

module.exports = [
    {
        port:6000,
        targetUrl:'http://127.0.0.1:8080'
    },
    {
        port:6001,
        targetUrl:'http://192.168.1.2:8088'
    },
    {
        port:6003,
        targetUrl:'http://lonelyshadow.cn/'
    },

];

author

yanyan

/yanproxy/

    Package Sidebar

    Install

    npm i yanproxy

    Weekly Downloads

    1

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • yanyan1716330643