fix /api/version
This commit is contained in:
parent
d1540b9fb5
commit
caf3e06da1
2
main.js
2
main.js
@ -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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user