fix /api/version

This commit is contained in:
Arthur Lu 2023-04-26 21:58:15 +00:00
parent d1540b9fb5
commit caf3e06da1

View File

@ -19,7 +19,7 @@ app.use(morgan("combined"));
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) => {