truss/core/index.js

8 lines
185 B
JavaScript
Raw Permalink Normal View History

2018-12-23 07:56:44 -06:00
exports.servicesList = () => {
const services = process.env.SERVICES.split(',');
if (-1 === services.indexOf('gateway')) {
services.unshift('gateway');
}
return services;
}