Bonsoir,

alert(location.protocol + '//' + location.hostname) retourne seulement http://localhost

Est-il possible de récupérer http://localhost/projectname/ ?

Merci d'avance pour votre réponse,