mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
merge: make configuration file directory configurable with MISSKEY_CONFIG_DIR environment variable (!1044)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1044 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Hazelnoot <acomputerdog@gmail.com>
This commit is contained in:
commit
5ce95e7f0b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue