summary refs log tree commit diff
path: root/util/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 20:54:59 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 20:54:59 +0200
commitf70a24ab6a5c8174c7d417e1c4c0400c0c4bebcb (patch)
tree8759e61a5a1851dd0e2313ebd1cb69705afbb969 /util/src
parent:pencil: update readme (diff)
parent:bug: fix dependencies and build for bundle (diff)
downloadserver-f70a24ab6a5c8174c7d417e1c4c0400c0c4bebcb.tar.xz
Merge branch 'master' of https://github.com/fosscord/fosscord-api
Diffstat (limited to 'util/src')
-rw-r--r--util/src/util/Config.ts4
-rw-r--r--util/src/util/toBigInt.ts1
2 files changed, 5 insertions, 0 deletions
diff --git a/util/src/util/Config.ts b/util/src/util/Config.ts

index b4648668..a23d724d 100644 --- a/util/src/util/Config.ts +++ b/util/src/util/Config.ts
@@ -43,9 +43,11 @@ export interface KafkaBroker { export interface DefaultOptions { gateway: { + endpointClientKeepDefault?: boolean; endpoint: string | null; }; cdn: { + endpointClientKeepDefault?: boolean; endpoint: string | null; }; general: { @@ -148,9 +150,11 @@ export interface DefaultOptions { export const DefaultOptions: DefaultOptions = { gateway: { + endpointClientKeepDefault: false, endpoint: null, }, cdn: { + endpointClientKeepDefault: false, endpoint: null, }, general: { diff --git a/util/src/util/toBigInt.ts b/util/src/util/toBigInt.ts
index 4f780acd..b7985928 100644 --- a/util/src/util/toBigInt.ts +++ b/util/src/util/toBigInt.ts
@@ -1,3 +1,4 @@ export default function toBigInt(string: string): bigint { return BigInt(string); } +