diff --git a/yahtzee/js/config.js b/yahtzee/js/config.js index 1709e50..54bd118 100644 --- a/yahtzee/js/config.js +++ b/yahtzee/js/config.js @@ -92,7 +92,7 @@ loginForm.addEventListener('submit', async function(event) { // 4. Redirection vers la table de jeu console.log("Partie créée avec succès, ID:", gameId); - window.location.href = '../game.html?game_id=' + gameId; + window.location.href = '../game/index.html?game_id=' + gameId; } else { console.error("Erreur lors de la création de la partie :", response?.error);