Revert "Merge pull request #1008 from spacebarchat/dev/samuel"

This reverts commit 69ea71aa9e, reversing
changes made to 8b2faf0b18.
This commit is contained in:
Madeline
2023-03-31 15:26:15 +11:00
parent c8f65ca4c7
commit 698ad90d3e
51 changed files with 2600 additions and 3583 deletions
-2
View File
@@ -37,7 +37,6 @@ import {
SecurityConfiguration,
SentryConfiguration,
TemplateConfiguration,
CacheConfiguration,
} from "../config";
export class ConfigValue {
@@ -62,5 +61,4 @@ export class ConfigValue {
email: EmailConfiguration = new EmailConfiguration();
passwordReset: PasswordResetConfiguration =
new PasswordResetConfiguration();
cache: CacheConfiguration = new CacheConfiguration();
}
@@ -1,22 +0,0 @@
/*
Fosscord: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Fosscord and Fosscord Contributors
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
export class CacheConfiguration {
enabled: boolean | null = true;
redis: string | null = null;
}
-1
View File
@@ -17,7 +17,6 @@
*/
export * from "./ApiConfiguration";
export * from "./CacheConfiguration";
export * from "./CdnConfiguration";
export * from "./DefaultsConfiguration";
export * from "./EmailConfiguration";