summary refs log tree commit diff
path: root/src/Server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server.ts')
-rw-r--r--src/Server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server.ts b/src/Server.ts

index 452bc1fe..f979dab2 100644 --- a/src/Server.ts +++ b/src/Server.ts
@@ -66,8 +66,8 @@ export class FosscordServer extends Server { await Config.init(); this.app.use(GlobalRateLimit); - this.app.use(Authentication); this.app.use(CORS); + this.app.use(Authentication); this.app.use(BodyParser({ inflate: true, limit: 1024 * 1024 * 2 })); const languages = await fs.readdir(path.join(__dirname, "..", "locales")); const namespaces = await fs.readdir(path.join(__dirname, "..", "locales", "en"));