summary refs log tree commit diff
path: root/src/index.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-02 00:51:00 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-02 00:51:00 +0100
commit8505d9279b0855990619008b38094d17a0be2aeb (patch)
tree9ddd83d513297b005e2546b999a68e6a2f0a0a78 /src/index.ts
parent:sparkles: [Route] Register (diff)
downloadserver-8505d9279b0855990619008b38094d17a0be2aeb.tar.xz
:art: Body Parser error
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts

index 9299221c..f4be661d 100644 --- a/src/index.ts +++ b/src/index.ts
@@ -6,3 +6,6 @@ import { DiscordServer } from "./Server"; const server = new DiscordServer({ port: 3000 }); server.start().catch(console.error); + +// @ts-ignore +global.server = server;