From 0012ac38fc0c27f7d30ed537c290f8d9e7019eeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Xavier=20Montigny?= Date: Thu, 7 Sep 2023 18:00:32 +0200 Subject: [PATCH] fix new mapbox from env --- front/src/app/routes/stats/stats.page.ts | 2 +- front/src/environments/environment.prod.ts | 1 + front/src/environments/environment.sandbox.ts | 1 + front/src/environments/environment.staging.ts | 1 + front/src/environments/environment.ts | 1 + front/src/index.html | 2 +- 6 files changed, 6 insertions(+), 2 deletions(-) diff --git a/front/src/app/routes/stats/stats.page.ts b/front/src/app/routes/stats/stats.page.ts index 1b6ede824..36e081939 100644 --- a/front/src/app/routes/stats/stats.page.ts +++ b/front/src/app/routes/stats/stats.page.ts @@ -19,7 +19,7 @@ export class StatsPage { /** * Mapbox styling */ - style = 'mapbox://styles/fxbeta/clg6ed492002m01lafhmrc98n' + style = environment.mapboxStyle /** * Center of mapbox */ diff --git a/front/src/environments/environment.prod.ts b/front/src/environments/environment.prod.ts index f91656241..227cceba9 100644 --- a/front/src/environments/environment.prod.ts +++ b/front/src/environments/environment.prod.ts @@ -16,5 +16,6 @@ export const environment = { forceSSL: true, supportEmail: 'support-utilisateurs@a-just.fr', mapboxToken: 'pk.eyJ1IjoiZnhiZXRhIiwiYSI6ImNsZzZldWR4dDA0aDEzZHBjazUxeWR5ZXYifQ.EHCQXWZ-t7RHL8EpCRXIng', + mapboxStyle: 'mapbox://styles/fxbeta/clg6ed492002m01lafhmrc98n', //typeId: process.env['TYPE_ID'] || 0, }; diff --git a/front/src/environments/environment.sandbox.ts b/front/src/environments/environment.sandbox.ts index 0ae8b9b27..ade3a379f 100644 --- a/front/src/environments/environment.sandbox.ts +++ b/front/src/environments/environment.sandbox.ts @@ -16,5 +16,6 @@ export const environment = { forceSSL: true, supportEmail: 'support-utilisateurs@a-just.fr', mapboxToken: 'pk.eyJ1IjoiZnhiZXRhIiwiYSI6ImNsZzZldHhvMTAzanEzc3BrYXJ5dXA1czYifQ.FlyDfsXjidTxi7XE50a07w', + mapboxStyle: 'mapbox://styles/fxbeta/clm7xuvg4012d01pb1jc6887h', //typeId: process.env['TYPE_ID'] || 0, }; diff --git a/front/src/environments/environment.staging.ts b/front/src/environments/environment.staging.ts index 743ea8d94..eec4da927 100644 --- a/front/src/environments/environment.staging.ts +++ b/front/src/environments/environment.staging.ts @@ -16,5 +16,6 @@ export const environment = { forceSSL: true, supportEmail: 'support-utilisateurs@a-just.fr', mapboxToken: 'pk.eyJ1IjoiZnhiZXRhIiwiYSI6ImNsZzZldHhvMTAzanEzc3BrYXJ5dXA1czYifQ.FlyDfsXjidTxi7XE50a07w', + mapboxStyle: 'mapbox://styles/fxbeta/clm7xuvg4012d01pb1jc6887h', //typeId: process.env['TYPE_ID'] || 0, }; diff --git a/front/src/environments/environment.ts b/front/src/environments/environment.ts index 6d6a09c55..d2d4ab4fe 100644 --- a/front/src/environments/environment.ts +++ b/front/src/environments/environment.ts @@ -19,6 +19,7 @@ export const environment = { forceSSL: false, supportEmail: 'support-utilisateurs@a-just.fr', mapboxToken: 'pk.eyJ1IjoiZnhiZXRhIiwiYSI6ImNsZzZldHhvMTAzanEzc3BrYXJ5dXA1czYifQ.FlyDfsXjidTxi7XE50a07w', + mapboxStyle: 'mapbox://styles/fxbeta/clm7xuvg4012d01pb1jc6887h', //typeId: process.env['TYPE_ID'] || 0, } diff --git a/front/src/index.html b/front/src/index.html index ab4e7da9e..0f6eb3f25 100644 --- a/front/src/index.html +++ b/front/src/index.html @@ -10,7 +10,7 @@ - +