diff --git a/package-lock.json b/package-lock.json index 266397b8..321c36e3 100644 Binary files a/package-lock.json and b/package-lock.json differ diff --git a/package.json b/package.json index 8af7b08f..aead4876 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "@types/node-fetch": "^2.5.7", "@zerollup/ts-transform-paths": "^1.7.18", "0x": "^4.10.2", - "ipdata": "^2.2.0", + "ipdata": "^1.1.2", "jest": "^26.6.3", "node-fetch": "^2.6.1", "ts-node": "^9.1.1", 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" });