General work on API

This commit is contained in:
Thesourtimes
2021-12-18 19:17:04 +03:00
parent 13eb680272
commit 442879e80a
11 changed files with 100 additions and 27 deletions
+5 -1
View File
@@ -1,4 +1,8 @@
MONGO_URL=mongodb://localhost/fosscord
PORT=3001
PRODUCTION=TRUE
THREADS=# automatically use all available cores, only available if production = true
THREADS=# automatically use all available cores, only available if production = true
#LOG_REQUESTS=
# only log 200 and 204: LOG_REQUESTS=200 204
# log everything except 200 and 204: LOG_REQUESTS=-200 204
# log all requests: LOG_REQUESTS=-