From f678f075984f5b8f8a7f0e0db88c70adad2c9246 Mon Sep 17 00:00:00 2001 From: ayuki_j <19406594+ayuki-joto@users.noreply.github.com> Date: Tue, 16 Jan 2024 21:00:48 +0900 Subject: [PATCH 1/2] refactor: change http to https --- lib/decidim-stack.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/decidim-stack.ts b/lib/decidim-stack.ts index ff6c7d7..c48fc4a 100644 --- a/lib/decidim-stack.ts +++ b/lib/decidim-stack.ts @@ -168,8 +168,8 @@ export class DecidimStack extends cdk.Stack { NEW_RELIC_APP_NAME: `decidim-app${ props.stage }`, MAPS_PROVIDER: 'osm', MAPS_STATIC_PROVIDER: 'cfj_osm', - MAPS_STATIC_URL: 'http://www.openstreetmap.org/', - MAPS_DYNAMIC_URL: 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', + MAPS_STATIC_URL: 'https://www.openstreetmap.org/', + MAPS_DYNAMIC_URL: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', MAPS_ATTRIBUTION: '© OpenStreetMap contributors', MAPS_DYNAMIC_API_KEY: 'true', MAPS_GEOCODING_HOST: 'nominatim.openstreetmap.org' From ac348cbbd4700abbbe00b3dc8682a328f0b28d4f Mon Sep 17 00:00:00 2001 From: ayuki_j <19406594+ayuki-joto@users.noreply.github.com> Date: Tue, 16 Jan 2024 21:04:51 +0900 Subject: [PATCH 2/2] refactor: fix test --- test/__snapshots__/decidim-cfj-cdk.test.ts.snap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/__snapshots__/decidim-cfj-cdk.test.ts.snap b/test/__snapshots__/decidim-cfj-cdk.test.ts.snap index 0441824..f55f652 100644 --- a/test/__snapshots__/decidim-cfj-cdk.test.ts.snap +++ b/test/__snapshots__/decidim-cfj-cdk.test.ts.snap @@ -1479,11 +1479,11 @@ exports[`DecidimStack Created 1`] = ` }, { "Name": "MAPS_STATIC_URL", - "Value": "http://www.openstreetmap.org/", + "Value": "https://www.openstreetmap.org/", }, { "Name": "MAPS_DYNAMIC_URL", - "Value": "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", + "Value": "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", }, { "Name": "MAPS_ATTRIBUTION",