summary refs log tree commit diff
path: root/api/src/Server.ts
diff options
context:
space:
mode:
authorFeatyre <88265031+Featyre@users.noreply.github.com>2021-11-22 21:44:26 +0800
committerGitHub <noreply@github.com>2021-11-22 21:44:26 +0800
commitb41d8c06ecdecb14ed82e0bb79005ab072572bbd (patch)
tree54f62af9aa75d0ffb00ecac2c0169683d8607bad /api/src/Server.ts
parentUpdate Identify.ts (diff)
parentMerge pull request #491 from TheArcaneBrony/master (diff)
downloadserver-b41d8c06ecdecb14ed82e0bb79005ab072572bbd.tar.xz
Merge branch 'fosscord:master' into master
Diffstat (limited to 'api/src/Server.ts')
-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