Skip to content

Commit

Permalink
fix: update XSS detection regex URL to point to the latest patterns file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kremilly committed Dec 8, 2024
1 parent 794d8d6 commit 12ce332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/consts/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ impl Global {
pub const APP_HOMEPAGE: &'static str = env!("CARGO_PKG_HOMEPAGE");

pub const APP_CONFIGS: &'static str = "https://raw.githubusercontent.com/Kremilly/DumpSync/refs/heads/main/dumpsync.yml";
pub const XSS_DETECT_REGEX: &'static str = "https://gist.githubusercontent.com/Kremilly/caa28b398966390730a4311337026a0f/raw/15efbaf184d7e3ee3c65cbf79de1f9f1f5425a27/xss-patterns.dsp";
pub const XSS_DETECT_REGEX: &'static str = "https://raw.githubusercontent.com/Kremilly/DumpSync/refs/heads/main/patterns.txt";

pub fn app_config() -> String {
format!("{}.yml", Self::APP_NAME)
Expand Down

0 comments on commit 12ce332

Please sign in to comment.