diff --git a/src/api/Server.ts b/src/api/Server.ts
index aec47818..49229494 100644
--- a/src/api/Server.ts
+++ b/src/api/Server.ts
@@ -36,7 +36,6 @@ import { Authentication, CORS } from "./middlewares/";
import { BodyParser } from "./middlewares/BodyParser";
import { ErrorHandler } from "./middlewares/ErrorHandler";
import { initRateLimits } from "./middlewares/RateLimit";
-import TestClient from "./middlewares/TestClient";
import { initTranslation } from "./middlewares/Translation";
import { initInstance } from "./util/handlers/Instance";
@@ -128,7 +127,6 @@ export class FosscordServer extends Server {
app.use("/api", api); // allow unversioned requests
this.app.use(ErrorHandler);
- TestClient(this.app);
Sentry.errorHandler(this.app);
diff --git a/src/util/config/Config.ts b/src/util/config/Config.ts
index de939e6b..f130e760 100644
--- a/src/util/config/Config.ts
+++ b/src/util/config/Config.ts
@@ -19,7 +19,6 @@
import {
ApiConfiguration,
CdnConfiguration,
- ClientConfiguration,
DefaultsConfiguration,
EmailConfiguration,
EndpointConfiguration,
@@ -55,7 +54,6 @@ export class ConfigValue {
rabbitmq: RabbitMQConfiguration = new RabbitMQConfiguration();
kafka: KafkaConfiguration = new KafkaConfiguration();
templates: TemplateConfiguration = new TemplateConfiguration();
- client: ClientConfiguration = new ClientConfiguration();
metrics: MetricsConfiguration = new MetricsConfiguration();
sentry: SentryConfiguration = new SentryConfiguration();
defaults: DefaultsConfiguration = new DefaultsConfiguration();
diff --git a/src/util/config/types/ClientConfiguration.ts b/src/util/config/types/ClientConfiguration.ts
deleted file mode 100644
index 1f465e7f..00000000
--- a/src/util/config/types/ClientConfiguration.ts
+++ /dev/null
@@ -1,24 +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/>.
-*/
-
-import { ClientReleaseConfiguration } from ".";
-
-export class ClientConfiguration {
- releases: ClientReleaseConfiguration = new ClientReleaseConfiguration();
- useTestClient: boolean = false;
-}
diff --git a/src/util/config/types/index.ts b/src/util/config/types/index.ts
index 510e19f8..cd3335e0 100644
--- a/src/util/config/types/index.ts
+++ b/src/util/config/types/index.ts
@@ -18,7 +18,6 @@
export * from "./ApiConfiguration";
export * from "./CdnConfiguration";
-export * from "./ClientConfiguration";
export * from "./DefaultsConfiguration";
export * from "./EmailConfiguration";
export * from "./EndpointConfiguration";
|