You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sentry/src/lib.rs
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,6 @@ pub mod middleware {
25
25
pubmod auth;
26
26
pubmod channel;
27
27
pubmod cors;
28
-
pubmod event_aggregate;
29
28
}
30
29
31
30
pubmod routes {
@@ -48,8 +47,7 @@ lazy_static! {
48
47
static ref CHANNEL_STATUS_BY_CHANNEL_ID:Regex = Regex::new(r"^/channel/0x([a-zA-Z0-9]{64})/status/?$").expect("The regex should be valid");
49
48
// Only the initial Regex to be matched.
50
49
static ref CHANNEL_VALIDATOR_MESSAGES:Regex = Regex::new(r"^/channel/0x([a-zA-Z0-9]{64})/validator-messages(/.*)?$").expect("The regex should be valid");
51
-
static ref CHANNEL_EVENTS_AGGREGATES:Regex = Regex::new(r"^/channel/0x([a-zA-Z0-9]{64})/events-aggregates(/|/0x[a-zA-Z0-9]{40}/?)?$").expect("The regex should be valid");
52
-
// @TODO define other regex routes
50
+
static ref CHANNEL_EVENTS_AGGREGATES:Regex = Regex::new(r"^/channel/0x([a-zA-Z0-9]{64})/events-aggregates/?$").expect("The regex should be valid");
53
51
static ref ANALYTICS_BY_CHANNEL_ID:Regex = Regex::new(r"^/analytics/0x([a-zA-Z0-9]{64})/?$").expect("The regex should be valid");
54
52
static ref ADVERTISER_ANALYTICS_BY_CHANNEL_ID:Regex = Regex::new(r"^/analytics/for-advertiser/0x([a-zA-Z0-9]{64})/?$").expect("The regex should be valid");
0 commit comments