[hotfix] Maybe its a fix
This commit is contained in:
parent
5ca4b4067a
commit
d26b3b98ba
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
const express = require("express");
|
||||
const multer = require("multer");
|
||||
const config = require("config");
|
||||
const { version } = require("./package.json");
|
||||
|
||||
const dbHandler = require("./dbHandler.js");
|
||||
const upload = multer({ dest: config.get("app.upload") });
|
||||
|
@ -46,7 +47,6 @@ const configureRoutes = (app) => {
|
|||
});
|
||||
|
||||
app.get("/version", (req, res) => {
|
||||
const { version } = require("./package.json");
|
||||
res.json({ version });
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue