summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-06-27 23:30:36 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-06-27 23:30:36 +0200
commit3f7e8296d019469f147a2e8cd737b4b8a7269221 (patch)
tree808ccbd17ea61f3aa8944dcd567d206356e93a21 /src
parent:bug: fix import (diff)
downloadserver-3f7e8296d019469f147a2e8cd737b4b8a7269221.tar.xz
:sparkles: v9
Diffstat (limited to 'src')
-rw-r--r--src/Server.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Server.ts b/src/Server.ts

index 93bbfe54..c1e66bfd 100644 --- a/src/Server.ts +++ b/src/Server.ts
@@ -95,6 +95,7 @@ export class FosscordServer extends Server { this.routes = await this.registerRoutes(path.join(__dirname, "routes", "/")); app.use("/api", prefix); // allow unversioned requests app.use("/api/v8", prefix); + app.use("/api/v9", prefix); this.app = app; this.app.use(ErrorHandler); const indexHTML = await fs.readFile(path.join(__dirname, "..", "client_test", "index.html"), { encoding: "utf8" });