fix: lint
This commit is contained in:
parent
c4a40fc3f1
commit
8a965e3a54
1 changed files with 8 additions and 1 deletions
|
|
@ -388,7 +388,14 @@ function start(opts) {
|
||||||
});
|
});
|
||||||
app.get('/(:tileSize(256|512)/)?index.json', (req, res, next) => {
|
app.get('/(:tileSize(256|512)/)?index.json', (req, res, next) => {
|
||||||
const tileSize = parseInt(req.params.tileSize, 10) || 256;
|
const tileSize = parseInt(req.params.tileSize, 10) || 256;
|
||||||
res.send(addTileJSONs(addTileJSONs([], req, 'rendered', tileSize), req, 'data', undefined));
|
res.send(
|
||||||
|
addTileJSONs(
|
||||||
|
addTileJSONs([], req, 'rendered', tileSize),
|
||||||
|
req,
|
||||||
|
'data',
|
||||||
|
undefined,
|
||||||
|
),
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
// ------------------------------------
|
// ------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue