You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
480 B
20 lines
480 B
const ConfigUnit = require('libflitter/config/ConfigUnit')
|
|
const path = require('path')
|
|
|
|
class CompatConfigUnit extends ConfigUnit {
|
|
/**
|
|
* Get the name of the service provided by this unit: 'services'
|
|
* @returns {string} - 'services'
|
|
*/
|
|
static get name() {
|
|
return 'configs'
|
|
}
|
|
|
|
constructor() {
|
|
const base_dir = path.resolve(__dirname, '..', '..', 'config')
|
|
super(base_dir)
|
|
}
|
|
}
|
|
|
|
module.exports = exports = CompatConfigUnit
|