summary refs log tree commit diff
path: root/api/src
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-11-10 19:36:51 +0100
committerGitHub <noreply@github.com>2021-11-10 19:36:51 +0100
commite6c6066a4c203601706545ac0a3179514e989d21 (patch)
treef6c80aada229c59269c9886c4739b0f0fdcf4cf1 /api/src
parentMerge pull request #476 from Thesourtimes/master (diff)
parentAPI versions 6 & 7 with minor logging additions (diff)
downloadserver-e6c6066a4c203601706545ac0a3179514e989d21.tar.xz
Merge pull request #501 from Thesourtimes/master
Diffstat (limited to 'api/src')
-rw-r--r--api/src/Server.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/src/Server.ts b/api/src/Server.ts

index a6887fd4..c16bac5c 100644 --- a/api/src/Server.ts +++ b/api/src/Server.ts
@@ -85,6 +85,8 @@ export class FosscordServer extends Server { }); this.app = app; + app.use("/api/v6", api); + app.use("/api/v7", api); app.use("/api/v8", api); app.use("/api/v9", api); app.use("/api", api); // allow unversioned requests