mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
improvements to inspector app
This commit is contained in:
@@ -536,7 +536,7 @@ export class ProtocolCache {
|
||||
instance!.source
|
||||
.getBytes(val.offset, val.length)
|
||||
.then((arr) => {
|
||||
callback(null, arr, null, null);
|
||||
callback(null, new Uint8Array(arr.buffer), null, null);
|
||||
})
|
||||
.catch((e) => {
|
||||
callback(new Error("Canceled"), null, null, null);
|
||||
|
||||
Reference in New Issue
Block a user