From 80e71bf3260142384719aeac06a08ac907305a0e Mon Sep 17 00:00:00 2001 From: julien Date: Thu, 19 Jun 2025 17:10:32 +0200 Subject: [PATCH] up --- templates/assets/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/assets/js/index.js b/templates/assets/js/index.js index 1cd93d1..84c72ce 100644 --- a/templates/assets/js/index.js +++ b/templates/assets/js/index.js @@ -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) {