ffffng/server/resources/versionResource.js
2018-12-18 00:29:20 +01:00

15 lines
271 B
JavaScript

'use strict';
const Resources = require('../utils/resources')
const version = require('../config').version
module.exports = {
get (req, res) {
return Resources.success(
res,
{
version
}
);
}
}