From bcc2c8219b12c5e18e16682eceab4d68d460c7cb Mon Sep 17 00:00:00 2001 From: Matt Price Date: Thu, 13 Feb 2025 18:07:51 -0500 Subject: [PATCH] use new Cloudfront URLs If changing to a new cloudfront distribution, remember to activate CORS using the Response headers policy value `CORS-With-Preflight`. --- client/.env.development | 4 ++-- client/.env.production | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/.env.development b/client/.env.development index 23b651a1..54555dc2 100644 --- a/client/.env.development +++ b/client/.env.development @@ -9,7 +9,7 @@ # 2025-02-11: Point to the current EPIC URL # May need to update again soon, using cloudfront # GATSBY_CDN_TILES_BASE_URL=https://static-data-screeningtool.geoplatform.gov -GATSBY_CDN_TILES_BASE_URL=https://pedp-data.s3.us-east-1.amazonaws.com/cejst-2.0 +GATSBY_CDN_TILES_BASE_URL=https://dblew8dgr6ajz.cloudfront.net GATSBY_LOCAL_TILES_BASE_URL=http://localhost:5000/data/data-pipeline GATSBY_DATA_PIPELINE_SCORE_PATH_LOCAL=data_pipeline/data/score @@ -46,4 +46,4 @@ GATSBY_FILE_DL_PATH_2_0_M_23_09_SIGNED_PDF=downloadable/M-23-09_Signed_CEQ_CPO_e GATSBY_FILE_DL_PATH_TSD_ES_PDF=downloadable/cejst-technical-support-document.pdf GATSBY_FILE_DL_PATH_HOW_TO_COMMUNITIES_PDF=downloadable/draft-communities-list.pdf -GATSBY_MAP_TILES_PATH=tiles \ No newline at end of file +GATSBY_MAP_TILES_PATH=tiles diff --git a/client/.env.production b/client/.env.production index 5c62f18a..f5fc40d5 100644 --- a/client/.env.production +++ b/client/.env.production @@ -9,7 +9,7 @@ # 2025-02-11: Point to the current EPIC URL # May need to update again soon, using cloudfront # GATSBY_CDN_TILES_BASE_URL=https://static-data-screeningtool.geoplatform.gov -GATSBY_CDN_TILES_BASE_URL=https://pedp-data.s3.us-east-1.amazonaws.com/cejst-2.0 +GATSBY_CDN_TILES_BASE_URL=https://dblew8dgr6ajz.cloudfront.net GATSBY_2_0_TRIBAL_PATH=data-versions/2.0/data/tribal