📡 Make user-data directory configurable
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = async (newConfig, render) => {
|
||||
|
||||
// Define constants for the config file
|
||||
const settings = {
|
||||
defaultLocation: './user-data/',
|
||||
defaultLocation: process.env.USER_DATA_DIR || './user-data/',
|
||||
defaultFile: 'conf.yml',
|
||||
filename: 'conf',
|
||||
backupDenominator: '.backup.yml',
|
||||
|
||||
Reference in New Issue
Block a user