We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32f693e commit 68aa486Copy full SHA for 68aa486
server/src/storage/localfs.rs
@@ -212,7 +212,8 @@ impl ObjectStorage for LocalFS {
212
213
fn absolute_url(&self, prefix: &RelativePath) -> object_store::path::Path {
214
object_store::path::Path::parse(
215
- format!("{}", self.root.join(prefix.as_str()).display()).trim_start_matches('/'),
+ format!("{}", self.root.join(prefix.as_str()).display())
216
+ .trim_start_matches(std::path::MAIN_SEPARATOR),
217
)
218
.unwrap()
219
}
0 commit comments