http-server-rs 0.0.25 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -70,7 +70,7 @@ http-server-rs -H X-Custom-Header:some-value
70
70
  Usage: http-server-rs [OPTIONS] [SERVE_DIR]
71
71
 
72
72
  Arguments:
73
- [SERVE_DIR] Target directory to serve [default: ./]
73
+ [SERVE_DIR] Target directory to serve [default: .]
74
74
 
75
75
  Options:
76
76
  -a, --address <ADDRESS>
@@ -101,10 +101,14 @@ Options:
101
101
  Watch for changes [default: SERVE_DIR]
102
102
  --no-watch-inject
103
103
  Don't automatically inject watch listener into html
104
+ --upgrade
105
+ Upgrade the binary to the latest release
106
+ --skip-upgrade-check
107
+ Skip checking for a newer release on startup
104
108
  --stream-buffer-size <STREAM_BUFFER_SIZE>
105
109
  Configure the buffer size when streaming files [default: 4000]
106
110
  --proxy <PROXY>
107
- Reverse proxy routes (URL-encoded, e.g. "path=/api&target=http://localhost:3000")
111
+ Reverse proxy routes (URL-encoded, e.g. "path=/api&target=http://localhost:3000&secure=false&change_origin=false&path_rewrite[key]=^/api&path_rewrite[value]=")
108
112
  -h, --help
109
113
  Print help
110
114
  ```
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "http-server-rs",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "bin": {