diff --git a/src/Server.ts b/src/Server.ts index 9c3ea9d6..b1fe3c90 100644 --- a/src/Server.ts +++ b/src/Server.ts @@ -85,7 +85,7 @@ export class FosscordServer extends Server { // @ts-ignore this.app = prefix; - this.routes = await this.registerRoutes(path.join(__dirname, "routes")); + this.routes = await this.registerRoutes(path.join(__dirname, "routes", "/")); app.use("/api/v8", prefix); this.app = app; this.app.use(ErrorHandler);