Skip to content

Commit

Permalink
refactor: wip swap tile url
Browse files Browse the repository at this point in the history
  • Loading branch information
pjsier committed Nov 2, 2024
1 parent 47d32e9 commit 728f045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/utils/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ export function coordsFromWKT(wkt) {
// TODO: Build in configurability here
export function getTileLayer(layer, year) {
// import.meta.env.VITE_TILE_URL_BASE ?? `https://property-praxis-dev-assets.s3.amazonaws.com/tiles`
return `https://property-praxis-dev-assets.s3.amazonaws.com/tiles/dev/${layer}-${year}/{z}/{x}/{y}.pbf`
return `https://property-praxis-prod-assets.s3.amazonaws.com/tiles/${layer}-${year}/{z}/{x}/{y}.pbf`
}

0 comments on commit 728f045

Please sign in to comment.