mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
add more helpful message if you get a 200 for a HEAD with Range request
This commit is contained in:
@@ -52,6 +52,7 @@ export class PMTiles {
|
||||
}
|
||||
})
|
||||
} else {
|
||||
console.log("Check failed: if you know this server supports byte serving, pass allow_200: true")
|
||||
throw new Error("Invalid response: " + resp.status)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user