Skip to content

Commit

Permalink
Make default config file optional (#156)
Browse files Browse the repository at this point in the history
Make default config optional to facilitate containerization and multi-platform builds

Fixes #155
  • Loading branch information
wilyle authored Mar 13, 2024
1 parent 9802615 commit c88572d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/config_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ where
};

let config_store = config::Config::builder()
.add_source(File::from(default_config_file))
.add_source(File::from(default_config_file).required(false))
.add_source(File::from(current_dir_config_path).required(false))
.add_source(File::from(freyja_dir_config_path).required(false))
.build()
Expand Down

0 comments on commit c88572d

Please sign in to comment.