We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4843c45 commit b7f2d4cCopy full SHA for b7f2d4c
1 file changed
src/class/GEOResourceManifest.mjs
@@ -35,11 +35,8 @@ export default class GEOResourceManifest {
35
Console.error("Get Cache", "Missing query string");
36
return undefined;
37
}
38
- let cache;
39
- if (KV) {
40
- cache = await KV.getItem(`@iRingo.Maps.Caches.${queryString}`);
41
- if (typeof cache === "object" && cache !== null) caches[queryString] = cache;
42
- } else cache = caches?.[queryString];
+ let cache = caches?.[queryString];
+ if (KV) cache = await KV.getItem(`@iRingo.Maps.Caches.${queryString}`);
43
switch (typeof cache?.base64) {
44
case "string":
45
if (cache.base64) {
0 commit comments