Skip to content

Commit

Permalink
Add a couple more endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Dec 1, 2023
1 parent 353b55e commit aa91889
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions crates/audit-cache/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ const ENDPOINTS: &[(&str, StatusCode, &str)] = &[
StatusCode::OK,
"HIT",
),
(
"/content/6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799i1",
StatusCode::NOT_FOUND,
"BYPASS",
),
(
"/preview/6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799i0",
StatusCode::OK,
"BYPASS",
),
("/static/index.css", StatusCode::OK, "HIT"),
("/static/index.js", StatusCode::OK, "HIT"),
("/sat/FOO", StatusCode::BAD_REQUEST, "HIT"),
Expand Down

0 comments on commit aa91889

Please sign in to comment.