mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-27 16:19:59 -07:00
general: fixes
This commit is contained in:
@@ -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}/api/{}?chunk={offseted}", route.url_path)
|
||||
})
|
||||
};
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@ impl Routes {
|
||||
.map(|(key, route)| {
|
||||
(
|
||||
key.to_owned(),
|
||||
format!("{url}/{}", route.url_path.to_owned()),
|
||||
format!("{url}/api/{}", route.url_path.to_owned()),
|
||||
)
|
||||
})
|
||||
.collect()
|
||||
|
||||
Reference in New Issue
Block a user