Skip to content

开启TypeScript配置参数提醒

Zobor edited this page Nov 29, 2021 · 1 revision
// setConfig可以帮助你如何配置bproxy

const { setConfig } = require('bproxy');

const config = setConfig({
  port: 8888,
  https: [],
  sslAll: true,
  host: [],
  rules: [
    {
      regx: 'google.',
      proxy: 'http://127.0.0.1:4780'
    },
  ]
})

module.exports = config;
Clone this wiki locally