Skip to content

Commit ebd47b1

Browse files
committed
change static-root config name
1 parent af4a031 commit ebd47b1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/config.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,10 @@ impl Config {
131131
#[cfg(test)]
132132
s3_bucket_is_temporary: false,
133133

134-
s3_static_root_path: env("S3_STATIC_ROOT_PATH", "https://static.docs.rs".to_string())?,
134+
s3_static_root_path: env(
135+
"DOCSRS_S3_STATIC_ROOT_PATH",
136+
"https://static.docs.rs".to_string(),
137+
)?,
135138

136139
github_accesstoken: maybe_env("DOCSRS_GITHUB_ACCESSTOKEN")?,
137140
github_updater_min_rate_limit: env("DOCSRS_GITHUB_UPDATER_MIN_RATE_LIMIT", 2500)?,

0 commit comments

Comments
 (0)