diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-17 18:45:42 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-17 18:45:42 +1100 |
commit | 77fa7ac886ac96ab02a014b64fb155250599a790 (patch) | |
tree | 27598093285dc1379d1822c0f279914372570b71 /src/api/Server.ts | |
parent | Remove /api/-/monitorz (diff) | |
download | server-77fa7ac886ac96ab02a014b64fb155250599a790.tar.xz |
Remove bad banned words implementation
Diffstat (limited to 'src/api/Server.ts')
-rw-r--r-- | src/api/Server.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/api/Server.ts b/src/api/Server.ts index c7e53d70..b8d1f9f6 100644 --- a/src/api/Server.ts +++ b/src/api/Server.ts @@ -1,7 +1,7 @@ import "missing-native-js-functions"; import { Server, ServerOptions } from "lambert-server"; import { Authentication, CORS } from "./middlewares/"; -import { BannedWords, Config, initDatabase, initEvent } from "@fosscord/util"; +import { Config, initDatabase, initEvent } from "@fosscord/util"; import { ErrorHandler } from "./middlewares/ErrorHandler"; import { BodyParser } from "./middlewares/BodyParser"; import { Router, Request, Response, NextFunction } from "express"; @@ -38,7 +38,6 @@ export class FosscordServer extends Server { await Config.init(); await initEvent(); await initInstance(); - await BannedWords.init(); let logRequests = process.env["LOG_REQUESTS"] != undefined; if (logRequests) { |