chore: remove unneeded console.logs
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
85290024a9
commit
1b2b79113b
1 changed files with 0 additions and 5 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue