⌛ ajoute un lien static pour la PR de migration afin de tester plus extensivement les scripts
parent
5f0cf65a66
commit
e5997bf704
|
@ -148,6 +148,11 @@ status = 200
|
|||
FR_SITE = "https://mon-entreprise.fr${path}"
|
||||
MASTER = 'true'
|
||||
|
||||
[context."demo"]
|
||||
[context."demo".environment]
|
||||
EN_SITE = "https://demo.mon-entreprise.fr${path}?s=m"
|
||||
FR_SITE = "https://demo.mon-entreprise.fr${path}"
|
||||
|
||||
# TEMP Just for testing the iframe when migrating from embauche to mon-entreprise
|
||||
[context."migration-embauche".environment]
|
||||
EN_SITE = "https://deploy-preview-520--syso.netlify.com${path}?s=m"
|
||||
FR_SITE = "https://deploy-preview-520--syso.netlify.com${path}"
|
|
@ -10,8 +10,8 @@ let script = document.getElementById('script-simulateur-embauche'),
|
|||
),
|
||||
integratorUrl = encodeURIComponent(window.location.href.toString()),
|
||||
src =
|
||||
baseUrl +
|
||||
`?s=e&couleur=${couleur}&iframe&integratorUrl=${integratorUrl}&lang=${lang}`
|
||||
baseUrl + (baseUrl.indexOf('?') !== -1 ? '&' : '?') +
|
||||
`couleur=${couleur}&iframe&integratorUrl=${integratorUrl}&lang=${lang}`
|
||||
|
||||
const iframe = document.createElement('iframe')
|
||||
const iframeAttributes = {
|
||||
|
|
Loading…
Reference in New Issue