fix /api/version

This commit is contained in:
Arthur Lu 2023-04-26 21:58:15 +00:00
parent cc3c1061ba
commit 7ea2160c9b

View File

@ -19,7 +19,7 @@ app.use(morgan("combined"));
app.get("/api/version", (req, res) => { app.get("/api/version", (req, res) => {
res.status(200).send({version: _version}); res.status(200).send({version: api.version});
}); });
app.get("/api/echo", (req, res) => { app.get("/api/echo", (req, res) => {