Add franceconnect prod host in franc_connect kit
This commit is contained in:
parent
b3a90376d4
commit
be25a309d8
1 changed files with 4 additions and 1 deletions
3
vendor/assets/javascripts/franceconnect.js
vendored
3
vendor/assets/javascripts/franceconnect.js
vendored
|
@ -12,6 +12,9 @@ var franceConnectKit = {};
|
|||
|
||||
fconnect.currentHost = 'fcp.integ01.dev-franceconnect.fr';
|
||||
|
||||
if (window.location.hostname == 'tps.apientreprise.fr')
|
||||
fconnect.currentHost = 'app.franceconnect.gouv.fr';
|
||||
|
||||
var fconnectProfile = document.getElementById('fconnect-profile');
|
||||
if (fconnectProfile) {
|
||||
var linkAccess = document.querySelector('#fconnect-profile > a');
|
||||
|
|
Loading…
Reference in a new issue