fix mbtiles source
This commit is contained in:
BIN
mapbox-mbtiles-0.12.2.tgz
Normal file
BIN
mapbox-mbtiles-0.12.2.tgz
Normal file
Binary file not shown.
8
package-lock.json
generated
8
package-lock.json
generated
@@ -10,7 +10,7 @@
|
||||
"license": "BSD-2-Clause",
|
||||
"dependencies": {
|
||||
"@mapbox/glyph-pbf-composite": "0.0.3",
|
||||
"@mapbox/mbtiles": "0.12.1",
|
||||
"@mapbox/mbtiles": "file:/./mapbox-mbtiles-0.12.2.tgz",
|
||||
"@mapbox/polyline": "^1.2.1",
|
||||
"@mapbox/sphericalmercator": "1.2.0",
|
||||
"@mapbox/vector-tile": "1.3.1",
|
||||
@@ -679,9 +679,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@mapbox/mbtiles": {
|
||||
"version": "0.12.1",
|
||||
"resolved": "https://registry.npmjs.org/@mapbox/mbtiles/-/mbtiles-0.12.1.tgz",
|
||||
"integrity": "sha512-yoK9GjLNHyOpxG+IG+JB4SGeiJeOHmiO1/HzTexplsBZi8MzZMck0l/fd3+t1uUyqgv4BxIn3D5FDtsVCaAr3g==",
|
||||
"version": "0.12.2",
|
||||
"resolved": "file:mapbox-mbtiles-0.12.2.tgz",
|
||||
"integrity": "sha512-ejgbW4mLvkiR6a/UTyiTOsg4h2iCqvGrECShQigKygkwuvGnZzrv5LTny4RnY4QLFhkJtTp7QoHEZq0QoU4mAQ==",
|
||||
"dependencies": {
|
||||
"@mapbox/sphericalmercator": "~1.1.0",
|
||||
"@mapbox/tiletype": "0.3.x",
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@mapbox/glyph-pbf-composite": "0.0.3",
|
||||
"@mapbox/mbtiles": "0.12.1",
|
||||
"@mapbox/mbtiles": "file:/./mapbox-mbtiles-0.12.2.tgz",
|
||||
"@mapbox/polyline": "^1.2.1",
|
||||
"@mapbox/sphericalmercator": "1.2.0",
|
||||
"@mapbox/vector-tile": "1.3.1",
|
||||
|
||||
@@ -116,7 +116,7 @@ export const serve_data = {
|
||||
},
|
||||
);
|
||||
|
||||
app.get('/:id/:t(\\d+)/:z(\\d+)/:x(\\d+)/:y(\\d+).:format([\\w.]+)', (req, res, next) => {
|
||||
app.get('/:id/:t(\\d+)/:z(\\ d+)/:x(\\d+)/:y(\\d+).:format([\\w.]+)', (req, res, next) => {
|
||||
const item = repo[req.params.id];
|
||||
if (!item) {
|
||||
return res.sendStatus(404);
|
||||
|
||||
Reference in New Issue
Block a user