0.1.3 • Published 4 years ago

oxz v0.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

oxz

local mock

module.exports = {
  port: 9000,
  local: {
    root: path.resolve(__dirname, './data'),
  },
  proxy: {
    enable: false,
  ],
  // ...
}

proxy

module.exports = {
  // ...
  proxy: {
    enable: true,
    rules: [
        {
        pathes: [
            '/api/(.*)'
        ],
        target: 'https://127.0.0.1',
        host: 'xyz.com'
        },
        {
        pathes: [
            '*'
        ],
        target: 'http://localhost:9999',
        host: ''
        }proxyRules[program.proxy]
    },
  ]
  // ...
0.1.3

4 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago