mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
b37342e100
Avoids sharing private username and password for Steam etc
13 lines
249 B
JavaScript
13 lines
249 B
JavaScript
var express = require('express')
|
|
var _ = require('lodash')
|
|
|
|
module.exports = function (config) {
|
|
var router = express.Router()
|
|
|
|
router.get('/', function (req, res) {
|
|
res.json(_.pick(config, ['game', 'path', 'type']))
|
|
})
|
|
|
|
return router
|
|
}
|