|
|
|
@ -21,7 +21,7 @@ async function checkConnection(req, res) {
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
res.status(200).send({ version: process.env.npm_package_version }); |
|
|
|
|
res.status(200).send({ version: __VERSION__ }); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
async function connectPlugin(req, res) { |
|
|
|
@ -44,7 +44,7 @@ async function connectPlugin(req, res) {
|
|
|
|
|
|
|
|
|
|
console.log(`Grafana at ${grafanaUrl} is connected`); |
|
|
|
|
|
|
|
|
|
res.status(200).send({ version: process.env.npm_package_version }); |
|
|
|
|
res.status(200).send({ version: __VERSION__ }); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const router = express.Router(); |
|
|
|
|