Progress towards background work replacement, work getting new NetworkManager and HttpClient up and running

This commit is contained in:
2026-02-01 15:12:24 -06:00
parent ebc045019a
commit 3e4b25f0d4
9 changed files with 273 additions and 358 deletions

View File

@@ -15,7 +15,7 @@ class W3DHub
if !force_fetch && File.exist?(path)
path
else
Api.fetch(uri, W3DHub::Api::DEFAULT_HEADERS, nil, backend) do |result|
Api.fetch(path: uri, backend: backend) do |result|
if result.okay?
File.open(path, "wb") { |f| f.write result.data }
end