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

12 lines
213 B
JavaScript

var express = require('express')
module.exports = function (settings) {
var router = express.Router()
router.get('/', function (req, res) {
res.json(settings.getPublicSettings())
})
return router
}