summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-26 13:25:32 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-26 13:30:47 +1000
commit5f46f559b727c05d3dd846c2fc7345933d5fbc5a (patch)
tree93c14b4159717d5563f7a730263436288e22fe7d /src
parentFix and remove some scripts + use ajv/typescript-json-schema required by patches (diff)
downloadserver-5f46f559b727c05d3dd846c2fc7345933d5fbc5a.tar.xz
Remove import to class-validator, fix listening on port message in bundle
Diffstat (limited to 'src')
-rw-r--r--src/bundle/Server.ts1
-rw-r--r--src/util/entities/Message.ts1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/bundle/Server.ts b/src/bundle/Server.ts
index da810d9b..c85daf40 100644
--- a/src/bundle/Server.ts
+++ b/src/bundle/Server.ts
@@ -110,6 +110,7 @@ async function main() {
 		app.use(Sentry.Handlers.tracingHandler());
 	}
 
+	server.listen(port);
 	await Promise.all([api.start(), cdn.start(), gateway.start()]);
 
 	if (Config.get().sentry.enabled) {
diff --git a/src/util/entities/Message.ts b/src/util/entities/Message.ts
index 3a3dd5e4..be790502 100644
--- a/src/util/entities/Message.ts
+++ b/src/util/entities/Message.ts
@@ -25,7 +25,6 @@ import { Sticker } from "./Sticker";
 import { Attachment } from "./Attachment";
 import { BannedWords } from "../util";
 import { HTTPError } from "lambert-server";
-import { ValidatorConstraint } from "class-validator";
 
 export enum MessageType {
 	DEFAULT = 0,