1.2.0-alpha • Published 12 months ago

danboard-proxy-server v1.2.0-alpha

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

license

proxy-server

使用方式

  • npm i danboard-proxy-server -g
  • proxy-server -v 查看当前版本号
  • proxy-server start -s 静态文件根目录 -t http://localhost:18080 -i index.html

start参数

参数 -s staticPath为静态文件根目录,必选

参数 -t target为需要代理到的服务地址 必选

参数 -i index为静态文件首页,默认 index.html

ui

无参数, 可进入ui界面进行代理配置