parser: price fetch fixes

This commit is contained in:
k
2024-09-19 10:49:26 +02:00
parent 1acfcf088c
commit 7b296e4863
11 changed files with 80 additions and 79 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ where
datasets.get(&ChunkId::from_usize(offseted)).map(|_| {
let scheme = headers.get_scheme();
let host = headers.get_host();
format!("{scheme}://{host}{}?chunk={offseted}", route.url_path)
format!("{scheme}://{host}/{}?chunk={offseted}", route.url_path)
})
};
+1 -1
View File
@@ -133,7 +133,7 @@ impl Routes {
.map(|(key, route)| {
(
key.to_owned(),
format!("{url}{}", route.url_path.to_owned()),
format!("{url}/{}", route.url_path.to_owned()),
)
})
.collect()