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