summary refs log tree commit diff
path: root/api/src/Server.ts
diff options
context:
space:
mode:
authorThesourtimes <cckhmck@gmail.com>2021-11-10 19:44:11 +0300
committerThesourtimes <cckhmck@gmail.com>2021-11-10 19:44:11 +0300
commitac1d7fbbaf2f3e97f0988d9daa47576b7883b555 (patch)
treef6c80aada229c59269c9886c4739b0f0fdcf4cf1 /api/src/Server.ts
parentAdded phase numbers to build (diff)
downloadserver-ac1d7fbbaf2f3e97f0988d9daa47576b7883b555.tar.xz
API versions 6 & 7 with minor logging additions
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