Skip to content

Commit efef389

Browse files
committed
Don't record sitemap as a 'static resource' for metrics
1 parent 79ef017 commit efef389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web/metrics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ mod tests {
133133
),
134134
("/releases/recent/1", "/releases/recent/:page"),
135135
("/-/static/robots.txt", "static resource"),
136-
("/sitemap.xml", "static resource"),
136+
("/sitemap.xml", "/sitemap.xml"),
137137
("/-/static/style.css", "static resource"),
138138
("/-/static/vendored.css", "static resource"),
139139
("/rustdoc/rcc/0.0.0/rcc/index.html", "rustdoc page"),

0 commit comments

Comments
 (0)