desktop: rustfmt the blob-store literal in the scheme handler
Desktop (Tauri) / Windows installer (cross-compiled) (push) Successful in 1m53s
Desktop (Tauri) / Tauri desktop (Linux) (push) Successful in 3m49s

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SreJkbxB4gx8pPsu8QbLPi
This commit is contained in:
2026-07-26 17:39:12 -04:00
co-authored by Claude Opus 5
parent c40263967d
commit b7c0820230
+1 -3
View File
@@ -186,9 +186,7 @@ pub fn serve(path: &str, query: Option<&str>) -> (u16, String, Vec<u8>) {
// A request before the store was published — nothing to serve yet.
return (503, "text/plain".into(), Vec::new());
};
let store = BlobStore {
root: root.clone(),
};
let store = BlobStore { root: root.clone() };
// `read` goes through `path`, which rejects anything that isn't a bare sha256 —
// so this handler inherits the traversal guard rather than re-implementing it.
let Some(bytes) = store.read(requested) else {