We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2817cd5 commit 0e56121Copy full SHA for 0e56121
1 file changed
src/config.rs
@@ -17,16 +17,16 @@ pub struct Config {
17
#[envconfig(from = "REDIS_URL", default = "redis://127.0.0.1:6379")]
18
pub redis: String,
19
20
- #[envconfig(from = "DUO_API")]
+ #[envconfig(from = "DUO_API", default = "1")]
21
pub duo_api: String,
22
23
- #[envconfig(from = "SPOTIFY_CLIENT_ID")]
+ #[envconfig(from = "SPOTIFY_CLIENT_ID", default = "")]
24
pub spotify_client_id: String,
25
26
- #[envconfig(from = "SPOTIFY_CLIENT_SECRET")]
+ #[envconfig(from = "SPOTIFY_CLIENT_SECRET", default = "")]
27
pub spotify_client_secret: String,
28
29
- #[envconfig(from = "GITHUB_SECRET")]
+ #[envconfig(from = "GITHUB_SECRET", default = "")]
30
pub github_secret: String,
31
32
#[envconfig(
0 commit comments