@stu43005/his-test-proxy
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

his-proxy

Install

Use npm:

npm i -g @stu43005/his-test-proxy

Usage

his-proxy
Options:
  -p, --port      Set server listen port                [number] [default: 3000]
  -u, --upstream  Set upstream url
                             [string] [default: "https://his-alpha.cmuh.org.tw"]
  -c, --config    Provide a path to proxy config file (.json, .js)      [string]
  -v, --verbose   Make the operation more talkative   [boolean] [default: false]
  -V, --version   Show version number                                  [boolean]
  -h, --help      Show help                                            [boolean]

Examples:
  his-proxy -c ./proxy.conf.json  Use custom config

Config example

{
  // 預設
  "/web": "src",

  // 可設定多個本地路徑
  "/web": [
    "MatStockManager/src",
    "MatStockPurchaseManager/src"
  ],

  // 測試本地 webapi
  "/webapi/sample": "http://localhost:3001"
}

Readme

Keywords

none

Package Sidebar

Install

npm i @stu43005/his-test-proxy

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

10.9 kB

Total Files

11

Last publish

Collaborators

  • stu43005