Make imagor optional

This commit is contained in:
Madeline
2022-10-02 22:25:47 +11:00
parent 5bbe2666d0
commit 5b463ee156
2 changed files with 16 additions and 11 deletions
+2
View File
@@ -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",