fix: renommer fichier sans extension pour éviter redirection reverse proxy
Le reverse proxy redirige tout *.html vers le chemin sans extension. Solution: utiliser _team-content (sans .html)
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
return;
|
||||
}
|
||||
|
||||
console.log('🔄 ÉQUIPE: Chargement du contenu _team-content.html');
|
||||
console.log('🔄 ÉQUIPE: Chargement du contenu _team-content');
|
||||
|
||||
// Charger le contenu via fetch (nom de fichier qui évite la redirection du reverse proxy)
|
||||
// Charger le contenu via fetch (fichier sans extension pour éviter redirection reverse proxy)
|
||||
function loadTeamContent() {
|
||||
fetch('/_team-content.html')
|
||||
fetch('/_team-content')
|
||||
.then(function(response) {
|
||||
if (!response.ok) throw new Error('HTTP ' + response.status);
|
||||
return response.text();
|
||||
|
||||
Reference in New Issue
Block a user