summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-02 22:25:47 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-02 22:25:47 +1100
commit5b463ee15629c8a8b14f7b7019f5c141d2de5c85 (patch)
tree28829bf4d82816e7e6f54504cd6da377e9a51673 /src/util
parentUse imagor for image resizing (diff)
downloadserver-5b463ee15629c8a8b14f7b7019f5c141d2de5c85.tar.xz
Make imagor optional
Diffstat (limited to 'src/util')
-rw-r--r--src/util/entities/Config.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/entities/Config.ts b/src/util/entities/Config.ts
index cd7a6923..42006fc9 100644
--- a/src/util/entities/Config.ts
+++ b/src/util/entities/Config.ts
@@ -52,6 +52,7 @@ export interface ConfigValue {
 		endpointPrivate: string | null;
 		resizeHeightMax: number | null;
 		resizeWidthMax: number | null;
+		imagorServerUrl: string | null;
 	};
 	api: {
 		defaultVersion: string;
@@ -222,6 +223,7 @@ export const DefaultConfigOptions: ConfigValue = {
 		endpointPublic: null,
 		resizeHeightMax: 1000,
 		resizeWidthMax: 1000,
+		imagorServerUrl: null,
 	},
 	api: {
 		defaultVersion: "9",