From d6cadb02f4d020be452a7facc614ce0c4e2449cb Mon Sep 17 00:00:00 2001 From: uurgothat Date: Sun, 24 Oct 2021 19:49:32 +0300 Subject: make templates configurable + authorization --- util/src/entities/Config.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'util/src') diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts index 1d2d496a..cac5d4da 100644 --- a/util/src/entities/Config.ts +++ b/util/src/entities/Config.ts @@ -164,8 +164,7 @@ export interface ConfigValue { enabled: Boolean; allowTemplateCreation: Boolean; allowDiscordTemplates: Boolean; - allowOtherInstancesTemplates: Boolean; - allowExternalRaws: Boolean + allowRaws: Boolean; } } @@ -332,7 +331,6 @@ export const DefaultConfigOptions: ConfigValue = { enabled: true, allowTemplateCreation: true, allowDiscordTemplates: true, - allowOtherInstancesTemplates: false, //Incomple - allowExternalRaws: false + allowRaws: false } }; -- cgit 1.5.1