Skip to content

Commit

Permalink
feat(#179): support .config dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jannis-baum committed Sep 5, 2024
1 parent 649cfe0 commit d1f8fe6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ const envConfigs: [string, keyof Config][] = [
const configFileBlocked: (keyof Config)[] = ['port'];

const configPaths = [
path.join(homedir(), '.config', 'vivify', 'config.json'),
path.join(homedir(), '.config', 'vivify.json'),
path.join(homedir(), '.vivify', 'config.json'),
path.join(homedir(), '.vivify.json'),
];
Expand Down

0 comments on commit d1f8fe6

Please sign in to comment.