From 3f7e8296d019469f147a2e8cd737b4b8a7269221 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sun, 27 Jun 2021 23:30:36 +0200 Subject: :sparkles: v9 --- src/Server.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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" }); -- cgit 1.5.1