✨ v9
This commit is contained in:
parent
cc9c666c0f
commit
3f7e8296d0
899
package-lock.json
generated
899
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -68,7 +68,7 @@
|
|||||||
"@types/node-fetch": "^2.5.7",
|
"@types/node-fetch": "^2.5.7",
|
||||||
"@zerollup/ts-transform-paths": "^1.7.18",
|
"@zerollup/ts-transform-paths": "^1.7.18",
|
||||||
"0x": "^4.10.2",
|
"0x": "^4.10.2",
|
||||||
"ipdata": "^2.2.0",
|
"ipdata": "^1.1.2",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"node-fetch": "^2.6.1",
|
"node-fetch": "^2.6.1",
|
||||||
"ts-node": "^9.1.1",
|
"ts-node": "^9.1.1",
|
||||||
|
@ -95,6 +95,7 @@ export class FosscordServer extends Server {
|
|||||||
this.routes = await this.registerRoutes(path.join(__dirname, "routes", "/"));
|
this.routes = await this.registerRoutes(path.join(__dirname, "routes", "/"));
|
||||||
app.use("/api", prefix); // allow unversioned requests
|
app.use("/api", prefix); // allow unversioned requests
|
||||||
app.use("/api/v8", prefix);
|
app.use("/api/v8", prefix);
|
||||||
|
app.use("/api/v9", prefix);
|
||||||
this.app = app;
|
this.app = app;
|
||||||
this.app.use(ErrorHandler);
|
this.app.use(ErrorHandler);
|
||||||
const indexHTML = await fs.readFile(path.join(__dirname, "..", "client_test", "index.html"), { encoding: "utf8" });
|
const indexHTML = await fs.readFile(path.join(__dirname, "..", "client_test", "index.html"), { encoding: "utf8" });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user