Skip to content

Commit

Permalink
Merge pull request #154 from Disfactory/yukai/change-protomaps-url
Browse files Browse the repository at this point in the history
feat: change protomap url to production
  • Loading branch information
Yukaii authored Apr 9, 2022
2 parents 011c59b + 4326e35 commit 54b4bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ const getBaseLayer = (type: BASE_MAP, wmtsTileGrid: WMTSTileGrid) => {
source: new VectorTileSource({
attributions: '<a href="https://protomaps.com" target="_blank">Protomaps</a> © <a href="https://www.openstreetmap.org" target="_blank"> OpenStreetMap</a>',
format: new MVT(),
url: 'https://staging.disfactory.tw/tiles/{z}/{x}/{y}.pbf',
url: process.env.VUE_APP_PROTOMAP_SOURCE_URL || 'https://api.disfactory.tw/tiles/{z}/{x}/{y}.pbf',
maxZoom: 14
}),
opacity: 1,
Expand Down

0 comments on commit 54b4bd1

Please sign in to comment.