diff options
author | uurgothat <cckhmck@gmail.com> | 2021-10-24 19:49:32 +0300 |
---|---|---|
committer | uurgothat <cckhmck@gmail.com> | 2021-10-24 19:49:32 +0300 |
commit | f45d1d579d7c6e845f296f7db1df983fb3170c8b (patch) | |
tree | 424d04cbf22afcac5e2be15cf8ce46165c20004b /util/src | |
parent | Merge branch 'master' of https://github.com/fosscord/fosscord-server (diff) | |
download | server-f45d1d579d7c6e845f296f7db1df983fb3170c8b.tar.xz |
make templates configurable + authorization
Diffstat (limited to 'util/src')
-rw-r--r-- | util/src/entities/Config.ts | 6 |
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 } }; |