This commit is contained in:
julien 2025-06-19 17:10:32 +02:00
parent 3f0ea1c184
commit 80e71bf326

View File

@ -22,7 +22,7 @@ async function validatePath() {
const response = await fetch('/validate-path', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ path }),
body: JSON.stringify({ pathName: path }), // <- ici on envoie pathName et plus path
});
if (response.ok) {