mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-11 20:04:18 -07:00
Change frontent variable references from v1.0 to v2.0
This commit is contained in:
parent
84c1a3aaf4
commit
77e0996441
10 changed files with 160 additions and 160 deletions
|
@ -24,7 +24,7 @@ interface IMapTractLayers {
|
|||
export const featureURLForTilesetName = (tilesetName: string): string => {
|
||||
const flags = useFlags();
|
||||
|
||||
const pipelineStagingBaseURL = `https://justice40-data.s3.amazonaws.com/data-pipeline-staging`;
|
||||
const pipelineStagingBaseURL = process.env.GATSBY_CDN_TILES_BASE_URL +`/data-pipeline-staging`;
|
||||
const XYZ_SUFFIX = '{z}/{x}/{y}.pbf';
|
||||
|
||||
if ('stage_hash' in flags) {
|
||||
|
@ -44,7 +44,7 @@ export const featureURLForTilesetName = (tilesetName: string): string => {
|
|||
|
||||
const featureTilePath = process.env.DATA_SOURCE === 'local' ?
|
||||
process.env.GATSBY_DATA_PIPELINE_SCORE_PATH_LOCAL :
|
||||
process.env.GATSBY_1_0_SCORE_PATH;
|
||||
process.env.GATSBY_2_0_SCORE_PATH;
|
||||
|
||||
return [
|
||||
featureTileBaseURL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue