Browse Source

fix typo in regex

fix/dont-cache-scripts
DashEightMate 1 year ago
parent
commit
cd1ade4ead
  1. 2
      server/lemmy_utils/src/lib.rs

2
server/lemmy_utils/src/lib.rs

@ -356,7 +356,7 @@ lazy_static! {
pub static ref CACHE_CONTROL_IMAGE_REGEX: Regex =
Regex::new("^(image/.+)$").unwrap();
pub static ref CACHE_CONTROL_APPLICATION_REGEX: Regex =
Regex::new("^((text/.+)|(application/javascript)$").unwrap();
Regex::new("^(text/.+)|(application/javascript)$").unwrap();
}
pub struct Keypair {

Loading…
Cancel
Save