Skip to content

Commit

Permalink
fix new mapbox from env
Browse files Browse the repository at this point in the history
  • Loading branch information
fxmontigny committed Sep 7, 2023
1 parent 77ae270 commit 0012ac3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion front/src/app/routes/stats/stats.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class StatsPage {
/**
* Mapbox styling
*/
style = 'mapbox://styles/fxbeta/clg6ed492002m01lafhmrc98n'
style = environment.mapboxStyle
/**
* Center of mapbox
*/
Expand Down
1 change: 1 addition & 0 deletions front/src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
1 change: 1 addition & 0 deletions front/src/environments/environment.sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
1 change: 1 addition & 0 deletions front/src/environments/environment.staging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
1 change: 1 addition & 0 deletions front/src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down
2 changes: 1 addition & 1 deletion front/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<meta http-equiv="Content-Security-Policy" content="script-src 'report-sample' 'self' https://*.hsforms.net https://stats.data.gouv.fr">
<meta http-equiv="Content-Security-Policy" content="script-src 'report-sample' 'self' https://*.hsforms.net https://stats.data.gouv.fr 'self' blob:">
</head>

<body title="">
Expand Down

0 comments on commit 0012ac3

Please sign in to comment.