arma-server-web-admin/lib/settings.js
2018-08-18 12:31:47 +02:00

12 lines
225 B
JavaScript

var _ = require('lodash')
var Settings = function (config) {
this.config = config
}
Settings.prototype.getPublicSettings = function () {
return _.pick(this.config, ['game', 'path', 'type'])
}
module.exports = Settings