mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 04:04:16 +00:00
make configuration file directory configurable with MISSKEY_CONFIG_DIR environment variable
This commit is contained in:
@@ -346,7 +346,7 @@ const _dirname = dirname(_filename);
|
||||
/**
|
||||
* Path of configuration directory
|
||||
*/
|
||||
const dir = `${_dirname}/../../../.config`;
|
||||
const dir = process.env.MISSKEY_CONFIG_DIR ?? `${_dirname}/../../../.config`;
|
||||
|
||||
/**
|
||||
* Path of configuration file
|
||||
|
||||
Reference in New Issue
Block a user