Compare commits

..

2 commits

Author SHA1 Message Date
4a584cde2d chore: update dependencies to latest versions
Some checks failed
Deploy Next.js application / deploy (push) Failing after 10m9s
2024-11-12 20:20:36 +01:00
7ef8ac23bd docs: update the documentation to reflect the features of SVR.JS 4.2.0 2024-11-12 20:17:39 +01:00
4 changed files with 410 additions and 434 deletions

834
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -366,6 +366,12 @@ Sends local message to server console.
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()_
<small>_Added in SVR.JS 4.0.0_</small>

View file

@ -10,4 +10,6 @@ title: CLI options
- _--secure_ - runs HTTPS server
- _--disable-mods_ - disables mods (safe mode)
- _--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

View file

@ -187,6 +187,8 @@ 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.
- _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.
- _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