Skip to content

Commit 5214640

Browse files
committed
expand description for BLOCKED_ROUTES
1 parent ffeaf57 commit 5214640

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ impl Default for Server {
6060
/// If the environment variable is not present instance metrics are not logged.
6161
/// - `FORCE_UNCONDITIONAL_REDIRECTS`: Whether to force unconditional redirects in the download
6262
/// endpoint even with a healthy database pool.
63-
/// - `BLOCKED_ROUTES`: A comma separated list of HTTP routes that are manually blocked by an
64-
/// operator.
63+
/// - `BLOCKED_ROUTES`: A comma separated list of HTTP route patterns that are manually blocked
64+
/// by an operator (e.g. `/crates/:crate_id/:version/download`).
6565
///
6666
/// # Panics
6767
///

0 commit comments

Comments
 (0)