summary refs log tree commit diff
path: root/util/src/util/Config.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 14:41:14 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 14:41:14 +0200
commita086735e274cecc8f821d3f490480db8f8abe77a (patch)
tree1a01c8834cc9626fef20654326e345a0d191fd92 /util/src/util/Config.ts
parent:bug: fix types (diff)
downloadserver-a086735e274cecc8f821d3f490480db8f8abe77a.tar.xz
:construction: auto update
Diffstat (limited to '')
-rw-r--r--util/src/util/Config.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/src/util/Config.ts b/util/src/util/Config.ts

index 09a42564..ec1efc6c 100644 --- a/util/src/util/Config.ts +++ b/util/src/util/Config.ts
@@ -99,6 +99,7 @@ export interface DefaultOptions { }; }; security: { + autoUpdate: boolean | number; requestSignature: string; jwtSecret: string; forwadedFor: string | null; // header to get the real user ip address @@ -230,6 +231,7 @@ export const DefaultOptions: DefaultOptions = { }, }, security: { + autoUpdate: true, requestSignature: crypto.randomBytes(32).toString("base64"), jwtSecret: crypto.randomBytes(256).toString("base64"), forwadedFor: null,