summary refs log tree commit diff
path: root/util/src/entities/Config.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-24 13:45:46 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-24 13:45:46 +1000
commite304ee320321247fda3814ca79718465c924cbd8 (patch)
treef28c8cf91b4ff7d399ca42795443afc67b986a8d /util/src/entities/Config.ts
parentMerge branch 'feat/notesTable' into slowcord (diff)
downloadserver-e304ee320321247fda3814ca79718465c924cbd8.tar.xz
Really shitty external image resizing
Diffstat (limited to '')
-rw-r--r--util/src/entities/Config.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts

index 84bd367e..e545e36a 100644 --- a/util/src/entities/Config.ts +++ b/util/src/entities/Config.ts
@@ -50,6 +50,8 @@ export interface ConfigValue { endpointClient: string | null; endpointPublic: string | null; endpointPrivate: string | null; + resizeHeightMax: number | null; + resizeWidthMax: number | null; }; api: { defaultVersion: string; @@ -218,6 +220,8 @@ export const DefaultConfigOptions: ConfigValue = { endpointClient: null, endpointPrivate: null, endpointPublic: null, + resizeHeightMax: 1000, + resizeWidthMax: 1000, }, api: { defaultVersion: "9",