summary refs log tree commit diff
path: root/util/src
diff options
context:
space:
mode:
authoruurgothat <cckhmck@gmail.com>2021-10-24 19:49:32 +0300
committeruurgothat <cckhmck@gmail.com>2021-10-24 19:49:32 +0300
commitf45d1d579d7c6e845f296f7db1df983fb3170c8b (patch)
tree424d04cbf22afcac5e2be15cf8ce46165c20004b /util/src
parentMerge branch 'master' of https://github.com/fosscord/fosscord-server (diff)
downloadserver-f45d1d579d7c6e845f296f7db1df983fb3170c8b.tar.xz
make templates configurable + authorization
Diffstat (limited to 'util/src')
-rw-r--r--util/src/entities/Config.ts6
1 files changed, 2 insertions, 4 deletions
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
 	}
 };