Modify data tile server to static URL to fix CORS (#1512)

* Modify data tile server to static URL to fix CORS

* Remove the cron from the cache invalidate action
This commit is contained in:
Vim 2022-03-30 16:44:58 -04:00 committed by GitHub
parent cb963cff5f
commit 27311b11e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -6,9 +6,9 @@ on:
description: This will invalidate the backend CDN, are you sure you want to proceed? (Y/n)
default: n
required: true
schedule:
# runs every 6 hours:
- cron: "0 */6 * * *"
# to allow this action to run every 6 hours
# schedule:
# - cron: "0 */6 * * *"
env:
BE_CDN_ID: E1324VDMNCO97N
jobs:

View file

@ -3,7 +3,7 @@
# Feature Tiles env variables:
# The TILES_BASE_URL will be determined by the DATA_SOURCE env variable
GATSBY_CDN_TILES_BASE_URL=https://d3jqyw10j8e7p9.cloudfront.net
GATSBY_CDN_TILES_BASE_URL=https://static-data-screeningtool.geoplatform.gov
GATSBY_LOCAL_TILES_BASE_URL=http://localhost:5000/data/data-pipeline
GATSBY_DATA_PIPELINE_SCORE_PATH_LOCAL=data_pipeline/data/score

View file

@ -3,7 +3,7 @@
# Feature Tiles env variables:
# The TILES_BASE_URL will always point to the CDN
GATSBY_CDN_TILES_BASE_URL=https://d3jqyw10j8e7p9.cloudfront.net
GATSBY_CDN_TILES_BASE_URL=https://static-data-screeningtool.geoplatform.gov
GATSBY_DATA_PIPELINE_SCORE_PATH=data-pipeline/data/score
GATSBY_SCORE_DOWNLOAD_FILE_PATH=downloadable/Screening_Tool_Data.zip