Merge pull request #416 from tbicr/update-glyph-pbf-composite-version

update glyph-pbf-composite
This commit is contained in:
Petr Sloup 2020-02-14 17:59:21 +01:00 committed by GitHub
commit 28dbc78264
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -17,6 +17,7 @@
"docker": "docker build -f Dockerfile . && docker run --rm -i -p 8080:80 $(docker build -q .)"
},
"dependencies": {
"@mapbox/glyph-pbf-composite": "0.0.3",
"@mapbox/mapbox-gl-native": "5.0.2",
"@mapbox/mapbox-gl-style-spec": "13.9.1",
"@mapbox/mbtiles": "0.11.0",
@ -31,7 +32,6 @@
"cors": "2.8.5",
"esm": "3.2.25",
"express": "4.17.1",
"glyph-pbf-composite": "0.0.2",
"handlebars": "4.5.3",
"http-shutdown": "1.2.1",
"morgan": "1.9.1",

View file

@ -4,7 +4,7 @@ const path = require('path');
const fs = require('fs');
const clone = require('clone');
const glyphCompose = require('glyph-pbf-composite');
const glyphCompose = require('@mapbox/glyph-pbf-composite');
module.exports.getPublicUrl = (publicUrl, req) => publicUrl || `${req.protocol}://${req.headers.host}/`;