8 lines
185 B
JavaScript
8 lines
185 B
JavaScript
|
exports.servicesList = () => {
|
||
|
const services = process.env.SERVICES.split(',');
|
||
|
if (-1 === services.indexOf('gateway')) {
|
||
|
services.unshift('gateway');
|
||
|
}
|
||
|
return services;
|
||
|
}
|