mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
serverless: improve error message if request doesn't match archive type [#190]
This commit is contained in:
@@ -200,7 +200,7 @@ export default {
|
||||
continue;
|
||||
}
|
||||
return cacheableResponse(
|
||||
"Bad request: archive has type ." + pair[1],
|
||||
`Bad request: requested .${ext} but archive has type .${pair[1]}`,
|
||||
cacheable_headers,
|
||||
400
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user