config.js
373 Bytes
exports = module.exports = function (logger, settings) {
function getHost(req, res, next) {
logger.info('getHost');
const { hostConfig } = settings;
return res.send({
data: hostConfig,
});
}
return {
getHost,
};
};
exports["@singleton"] = true;
exports["@require"] = ["igloo/logger", "igloo/settings"];