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 147 additions and 556 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ import "missing-native-js-functions";
import morgan from "morgan";
import path from "path";
import { red } from "picocolors";
import { CORS, initAuthentication } from "./middlewares/";
import { Authentication, CORS } from "./middlewares/";
import { BodyParser } from "./middlewares/BodyParser";
import { ErrorHandler } from "./middlewares/ErrorHandler";
import { initRateLimits } from "./middlewares/RateLimit";
@@ -106,7 +106,7 @@ export class FosscordServer extends Server {
// @ts-ignore
this.app = api;
initAuthentication(api);
api.use(Authentication);
await initRateLimits(api);
await initTranslation(api);