From 14b5b91735747895ffaea59a03fc2b3faad4d979 Mon Sep 17 00:00:00 2001 From: Micheal Wells Date: Fri, 29 Sep 2023 15:45:33 -0700 Subject: [PATCH] cors fixs works, applying to v2 --- appv2/src/state/sagas/map/online.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appv2/src/state/sagas/map/online.ts b/appv2/src/state/sagas/map/online.ts index cd135b276..8308ebff5 100644 --- a/appv2/src/state/sagas/map/online.ts +++ b/appv2/src/state/sagas/map/online.ts @@ -59,7 +59,8 @@ export function* handle_IAPP_GEOJSON_GET_ONLINE(action) { 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*', 'Accept-Encoding': 'gzip, deflate, br', - 'Cache-Control': 'max-age=86400' + 'Cache-Control': 'max-age=86400', + 'Sec-Fetch-Mode': 'no-cors' }, url: 'https://nrs.objectstore.gov.bc.ca/seeds/iapp_geojson_gzip.gz'