neol-command-server

0.1.0 • Public • Published

neol-command-server

基于fis3-command-server修改的node服务器,支持proxy功能

使用方法

在项目根目录创建proxy.js文件,模版如下:

module.exports = {
    "/api": {
            "target": "https://www.baidu.com/",
            "pathRewrite": {
                "^/api/": "/"        
            },
            "changeOrigin": true
        }
}

Readme

Keywords

Package Sidebar

Install

npm i neol-command-server

Weekly Downloads

0

Version

0.1.0

License

BSD

Last publish

Collaborators

  • kdylan