summary refs log tree commit diff
path: root/src/util/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/config')
-rw-r--r--src/util/config/Config.ts2
-rw-r--r--src/util/config/types/SentryConfiguration.ts27
-rw-r--r--src/util/config/types/index.ts1
3 files changed, 0 insertions, 30 deletions
diff --git a/src/util/config/Config.ts b/src/util/config/Config.ts

index 56054641..1458ab4b 100644 --- a/src/util/config/Config.ts +++ b/src/util/config/Config.ts
@@ -35,7 +35,6 @@ import { RegionConfiguration, RegisterConfiguration, SecurityConfiguration, - SentryConfiguration, TemplateConfiguration, UserConfiguration, } from "../config"; @@ -56,7 +55,6 @@ export class ConfigValue { kafka: KafkaConfiguration = new KafkaConfiguration(); templates: TemplateConfiguration = new TemplateConfiguration(); metrics: MetricsConfiguration = new MetricsConfiguration(); - sentry: SentryConfiguration = new SentryConfiguration(); defaults: DefaultsConfiguration = new DefaultsConfiguration(); external: ExternalTokensConfiguration = new ExternalTokensConfiguration(); email: EmailConfiguration = new EmailConfiguration(); diff --git a/src/util/config/types/SentryConfiguration.ts b/src/util/config/types/SentryConfiguration.ts deleted file mode 100644
index 3d92c62a..00000000 --- a/src/util/config/types/SentryConfiguration.ts +++ /dev/null
@@ -1,27 +0,0 @@ -/* - Spacebar: A FOSS re-implementation and extension of the Discord.com backend. - Copyright (C) 2023 Spacebar and Spacebar 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/>. -*/ - -import { hostname } from "os"; - -export class SentryConfiguration { - enabled: boolean = false; - endpoint: string = - "https://05e8e3d005f34b7d97e920ae5870a5e5@sentry.thearcanebrony.net/6"; - traceSampleRate: number = 1.0; - environment: string = hostname(); -} diff --git a/src/util/config/types/index.ts b/src/util/config/types/index.ts
index a141bacf..cc671bfa 100644 --- a/src/util/config/types/index.ts +++ b/src/util/config/types/index.ts
@@ -34,7 +34,6 @@ export * from "./RabbitMQConfiguration"; export * from "./RegionConfiguration"; export * from "./RegisterConfiguration"; export * from "./SecurityConfiguration"; -export * from "./SentryConfiguration"; export * from "./subconfigurations"; export * from "./TemplateConfiguration"; export * from "./UsersConfiguration";