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
commita4c4ed063fc49709064ae9094ca26b00bce94538 (patch)
tree3e8007e538083ed036492c71a1bd60a408e904a2 /api/src
parentMerge pull request #476 from Thesourtimes/master (diff)
parentAPI versions 6 & 7 with minor logging additions (diff)
downloadserver-a4c4ed063fc49709064ae9094ca26b00bce94538.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