chore: remove unneeded console.logs

Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
Andrew Calcutt 2023-10-08 00:18:18 -04:00
parent 85290024a9
commit 1b2b79113b

View file

@ -21,7 +21,6 @@ export const serve_data = {
'/:id/:z(\\d+)/:x(\\d+)/:y(\\d+).:format([\\w.]+)', '/:id/:z(\\d+)/:x(\\d+)/:y(\\d+).:format([\\w.]+)',
async (req, res, next) => { async (req, res, next) => {
const item = repo[req.params.id]; const item = repo[req.params.id];
console.log(item);
if (!item) { if (!item) {
return res.sendStatus(404); return res.sendStatus(404);
} }
@ -56,8 +55,6 @@ export const serve_data = {
let tileinfo = await GetPMtilesTile(item.source, z, x, y); let tileinfo = await GetPMtilesTile(item.source, z, x, y);
let data = tileinfo.data; let data = tileinfo.data;
let headers = tileinfo.header; let headers = tileinfo.header;
console.log(data);
console.log(headers);
if (data == undefined) { if (data == undefined) {
return res.status(404).send('Not found'); return res.status(404).send('Not found');
} else { } else {
@ -271,8 +268,6 @@ export const serve_data = {
await sourceInfoPromise; await sourceInfoPromise;
} }
console.log(tileJSON);
repo[id] = { repo[id] = {
tileJSON, tileJSON,
publicUrl, publicUrl,