MCPcopy Index your code
hub / github.com/MagicMirrorOrg/MagicMirror / getVersion

Function getVersion

js/server_functions.js:203–205  ·  view source on GitHub ↗

* Gets the MagicMirror version. * @param {Request} req - the request * @param {Response} res - the result

(req, res)

Source from the content-addressed store, hash-verified

201 * @param {Response} res - the result
202 */
203function getVersion (req, res) {
204 res.send(global.version);
205}
206
207/**
208 * Gets the preferred `User-Agent`

Callers 1

ServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected