mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2025-06-06 07:29:01 +00:00
Fix lint
This commit is contained in:
parent
3ee02cbb74
commit
0e8f4448ec
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ pub fn get_configuration() -> Result<Settings, config::ConfigError> {
|
|||
configuration_directory.join("base.yaml"),
|
||||
))
|
||||
.add_source(config::File::from(
|
||||
configuration_directory.join(&environment_filename),
|
||||
configuration_directory.join(environment_filename),
|
||||
))
|
||||
// Add in settings from environment variables (with a prefix of APP and '__' as separator)
|
||||
// E.g. `APP_APPLICATION__PORT=5001 would set `Settings.application.port`
|
||||
|
|
Loading…
Reference in a new issue