Skip to content

Commit

Permalink
fix: adjusted host regex (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobressan authored Nov 12, 2024
1 parent 637c86f commit 67778c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl State {
pub fn try_new() -> Result<Self, Box<dyn Error>> {
let config = Config::new();
let metrics = Metrics::try_new(Registry::default())?;
let host_regex = Regex::new(r"(dmtr_[\w\d-]+)?\.?.+")?;
let host_regex = Regex::new(r"([dmtr_]?[\w\d-]+)?\.?.+")?;
let consumers = Default::default();
let tiers = Default::default();
let limiter = Default::default();
Expand Down

0 comments on commit 67778c3

Please sign in to comment.