summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2023-03-18 04:18:18 +0100
committerSamuel <34555296+Flam3rboy@users.noreply.github.com>2023-03-18 04:18:18 +0100
commitd97dbdf73cb4a5b21492575fce9b24cdcc337402 (patch)
treed9b89f8cfa8eccba939ba06faa5cd2f4625e542e
parentfix: use entity.save() instead of insert (needed for caching) (diff)
downloadserver-d97dbdf73cb4a5b21492575fce9b24cdcc337402.tar.xz
fix: remove proxy
-rw-r--r--src/api/Server.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/api/Server.ts b/src/api/Server.ts
index ced82dce..fb32e511 100644
--- a/src/api/Server.ts
+++ b/src/api/Server.ts
@@ -126,10 +126,6 @@ export class FosscordServer extends Server {
 		app.use("/api/v9", api);
 		app.use("/api", api); // allow unversioned requests
 
-		try {
-			require("./middlewares/TestClient").default(this.app);
-			// eslint-disable-next-line no-empty
-		} catch (error) {}
 		this.app.use(ErrorHandler);
 
 		Sentry.errorHandler(this.app);