Skip to content

Commit

Permalink
change static-root config name
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Oct 15, 2022
1 parent af4a031 commit ebd47b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ impl Config {
#[cfg(test)]
s3_bucket_is_temporary: false,

s3_static_root_path: env("S3_STATIC_ROOT_PATH", "https://static.docs.rs".to_string())?,
s3_static_root_path: env(
"DOCSRS_S3_STATIC_ROOT_PATH",
"https://static.docs.rs".to_string(),
)?,

github_accesstoken: maybe_env("DOCSRS_GITHUB_ACCESSTOKEN")?,
github_updater_min_rate_limit: env("DOCSRS_GITHUB_UPDATER_MIN_RATE_LIMIT", 2500)?,
Expand Down

0 comments on commit ebd47b1

Please sign in to comment.