Revision 1c65dd5c
Added by koszko over 1 year ago
background/indexeddb_files_server.js | ||
---|---|---|
59 | 59 |
getting.defs_by_res_id.set(id, definition); |
60 | 60 |
|
61 | 61 |
const file_proms = (definition.scripts || []) |
62 |
.map(s => haketilodb.idb_get(getting.tx, "files", s.hash_key));
|
|
62 |
.map(s => haketilodb.idb_get(getting.tx, "files", s.sha256));
|
|
63 | 63 |
|
64 | 64 |
const deps_proms = (definition.dependencies || []) |
65 | 65 |
.map(dep_id => get_resource_files(getting, dep_id)); |
Also available in: Unified diff
adapt to changes in file path format
From now on we assume Hydrilla serves file contents at 'file/sha256/' instead of 'file/sha256-'.
With this commit we also stop using the "hash_key" property internally.