[hotfix] Maybe its a fix

This commit is contained in:
0d0acre 2024-09-21 02:38:06 +02:00
parent 5ca4b4067a
commit d26b3b98ba

View file

@ -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 });
});
};