mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 17:44:20 -08:00
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:
parent
cb963cff5f
commit
27311b11e2
3 changed files with 5 additions and 5 deletions
6
.github/workflows/refresh-be-cdn.yml
vendored
6
.github/workflows/refresh-be-cdn.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue