remove not needed check
This commit is contained in:
parent
484de1ea2d
commit
2e92e57622
1 changed files with 0 additions and 2 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue