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
commit17fed6a4b60335ff7b4506ebe7880606d99a3568 (patch)
tree2ac2f9338e01c76fb810d552b6d78507d597ce45 /api/src/Server.ts
parentUpdate Identify.ts (diff)
parentMerge pull request #491 from TheArcaneBrony/master (diff)
downloadserver-17fed6a4b60335ff7b4506ebe7880606d99a3568.tar.xz
Merge branch 'fosscord:master' into master
Diffstat (limited to '')
-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