From 51d6a967598d536a40b057236f1aaabd20d1b88a Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Wed, 28 Apr 2021 16:10:15 +0800 Subject: [PATCH] add more helpful message if you get a 200 for a HEAD with Range request --- js/index.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/js/index.mjs b/js/index.mjs index f4864af..a310d10 100644 --- a/js/index.mjs +++ b/js/index.mjs @@ -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) } })