mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 17:32:30 +00:00
✨ v9
This commit is contained in:
1 parent
cc9c666c0f
commit
3f7e8296d0
3 files changed
+2
-1
No files matched your search
@@ -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" });
|
||||
|
||||
Reference in new issue
Block a user