set a default user_locale path

This commit is contained in:
lesion 2023-02-17 21:56:31 +01:00
parent 3b49847914
commit d125cf1506
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -13,6 +13,7 @@ let config = {
log_level: 'debug',
log_path: path.resolve(process.env.cwd || '', 'logs'),
db: {},
user_locale: path.resolve(process.env.cwd || '', 'user_locale'),
upload_path: path.resolve(process.env.cwd || '', 'uploads'),
write (config_path= process.env.config_path || './config.json') {
delete config.status