chore: initial documentation of config.json (#627)

This commit is contained in:
Sainan 2024-12-23 22:44:43 +01:00 committed by GitHub
parent 42f11b2d30
commit 7dcb1f4fa4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
# Space Ninja Server
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 ]`.

View File

@ -2,8 +2,7 @@
"mongodbUrl": "mongodb://127.0.0.1:27017/openWF",
"logger": {
"files": true,
"level": "trace",
"__valid_levels": "fatal, error, warn, info, http, debug, trace"
"level": "trace"
},
"myAddress": "localhost",
"httpPort": 80,