chore: initial documentation of config.json (#627)
This commit is contained in:
parent
42f11b2d30
commit
7dcb1f4fa4
@ -1,3 +1,8 @@
|
|||||||
# Space Ninja Server
|
# Space Ninja Server
|
||||||
|
|
||||||
More information for the moment here: [https://discord.gg/PNNZ3asUuY](https://discord.gg/PNNZ3asUuY)
|
More information for the moment here: [https://discord.gg/PNNZ3asUuY](https://discord.gg/PNNZ3asUuY)
|
||||||
|
|
||||||
|
## config.json
|
||||||
|
|
||||||
|
- `logger.level` can be `fatal`, `error`, `warn`, `info`, `http`, `debug`, or `trace`.
|
||||||
|
- `myIrcAddresses` can be used to point to an IRC server. If not provided, defaults to `[ myAddress ]`.
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
"mongodbUrl": "mongodb://127.0.0.1:27017/openWF",
|
"mongodbUrl": "mongodb://127.0.0.1:27017/openWF",
|
||||||
"logger": {
|
"logger": {
|
||||||
"files": true,
|
"files": true,
|
||||||
"level": "trace",
|
"level": "trace"
|
||||||
"__valid_levels": "fatal, error, warn, info, http, debug, trace"
|
|
||||||
},
|
},
|
||||||
"myAddress": "localhost",
|
"myAddress": "localhost",
|
||||||
"httpPort": 80,
|
"httpPort": 80,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user