Compare commits

..

No commits in common. "4a584cde2d7620ccd86b32cd0ecad243fdb1a825" and "85614ae9b3c892e837b14bf841471a314818f938" have entirely different histories.

4 changed files with 434 additions and 410 deletions

834
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -366,12 +366,6 @@ Sends local message to server console.
This object contains properties from _config.json_ file. This object contains properties from _config.json_ file.
### _config.wwwroot_
<small>_Added in SVR.JS 4.2.0_</small>
A normalized path to the webroot. In SVR.JS versions prior to 4.2.0, _config.wwwroot_ refers to the _webroot_ property from _config.json_ file.
### _config.getCustomHeaders()_ ### _config.getCustomHeaders()_
<small>_Added in SVR.JS 4.0.0_</small> <small>_Added in SVR.JS 4.0.0_</small>

View file

@ -10,6 +10,4 @@ title: CLI options
- _--secure_ - runs HTTPS server - _--secure_ - runs HTTPS server
- _--disable-mods_ - disables mods (safe mode) - _--disable-mods_ - disables mods (safe mode)
- _--single-threaded_ - runs single-threaded - _--single-threaded_ - runs single-threaded
- _--stdout-notty_ - enable `stdout` even when `stdout` is not a TTY. May decrease the performace. (SVR.JS 4.2.0 or newer)
- _--no-save-config_ - don't save configuration file (SVR.JS 4.2.0 or newer)
- _-v_ or _--version_ - displays server version - _-v_ or _--version_ - displays server version

View file

@ -187,8 +187,6 @@ The _config.json_ file contains various properties that you can customize to con
- Option to allow double slashes in the URL. If set to `false`, double slashes are removed by URL sanitizer. Double slashes at the beginning of path (e.g. in _//config.json_) are always removed. Doesn't affect URL rewriting, in that case please configure the _allowDoubleSlashes_ property in the URL rewriting rule. It may allow some configuration file leaks, if web root is in the SVR.JS installation directory. - Option to allow double slashes in the URL. If set to `false`, double slashes are removed by URL sanitizer. Double slashes at the beginning of path (e.g. in _//config.json_) are always removed. Doesn't affect URL rewriting, in that case please configure the _allowDoubleSlashes_ property in the URL rewriting rule. It may allow some configuration file leaks, if web root is in the SVR.JS installation directory.
- _optOutOfStatisticsServer_ (Boolean, SVR.JS 3.15.6 or newer) - _optOutOfStatisticsServer_ (Boolean, SVR.JS 3.15.6 or newer)
- Option to opt out of sending data to the statistics server. You can use this option to increase the privacy of SVR.JS. - Option to opt out of sending data to the statistics server. You can use this option to increase the privacy of SVR.JS.
- _disableConfigurationSaving_ (Boolean, SVR.JS 4.2.0 or newer)
- Option to enable `stdout` even when the `stdout` is not a TTY. Setting this option to `true` may decrease the performace of SVR.JS.
## Deprecated and Removed Properties ## Deprecated and Removed Properties