Skip to content

Commit

Permalink
remove not needed check
Browse files Browse the repository at this point in the history
  • Loading branch information
Miko committed Dec 22, 2024
1 parent 484de1e commit 2e92e57
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/serve_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,6 @@ export const serve_data = {
}
if (data == null) return res.status(204).send();
if (!data) return res.status(404).send('Not found');
if (tileJSON.format === 'pbf')
return res.status(400).send('Invalid format');

const image = new Image();
await new Promise(async (resolve, reject) => {
Expand Down

0 comments on commit 2e92e57

Please sign in to comment.