fix: lint

This commit is contained in:
Andrew Calcutt 2024-02-02 10:17:15 -05:00
parent c4a40fc3f1
commit 8a965e3a54

View file

@ -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,
),
);
}); });
// ------------------------------------ // ------------------------------------