diff --git a/src/lang/lang.js b/src/lang/lang.js index 20f7e74..1ab3baa 100644 --- a/src/lang/lang.js +++ b/src/lang/lang.js @@ -11,10 +11,7 @@ Authors: See CONTRIBUTORS.txt file Software description: Experience in a playful way the challenges faced by people with digital disabilities */ -// Détecter l'environnement -const isLocal = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1'; -const isOrangeSite = window.location.hostname.indexOf('tota11ylost.orange') > -1; -const basePath = (isLocal || isOrangeSite) ? '/locales/' : '/Tota11ylost/locales/'; +const basePath = '/locales/'; const langManager = function () { let tabFn = [];