Skip to content
Snippets Groups Projects
Commit ded36736 authored by Muhammad Hamza Akhtar's avatar Muhammad Hamza Akhtar
Browse files

chore(version): fix for fetching package version

parent 36274d3f
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ const { vault } = require("../utils");
const { utility } = require("../utils");
const { environment } = require("../utils");
const { verifyImage } = require("../utils/cosign");
const { version } = require("../package.json");
// Dashboard
// Get Docker Information
......@@ -258,7 +259,7 @@ function resolveVaultPathList(callback) {
module.exports = (keycloak) => {
router.get("/v2/stationInfo", (req, res) => {
res.send({
appVersion: process.env.npm_package_version,
appVersion: version,
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment