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
5
vendor/assets/javascripts/franceconnect.js
vendored
5
vendor/assets/javascripts/franceconnect.js
vendored
|
@ -6,12 +6,15 @@ var franceConnectKit = {};
|
|||
aboutUrl: ''
|
||||
};
|
||||
|
||||
franceConnectKit.init = function() {
|
||||
franceConnectKit.init = function () {
|
||||
//initCurrentHostnameSource();
|
||||
//includeFCCss();
|
||||
|
||||
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