arma-server-web-admin/lib/settings.js

12 lines
225 B
JavaScript
Raw Permalink Normal View History

2018-08-18 10:31:41 +00:00
var _ = require('lodash')
var Settings = function (config) {
this.config = config
}
Settings.prototype.getPublicSettings = function () {
return _.pick(this.config, ['game', 'path', 'type'])
}
module.exports = Settings