From 5c214ef3ad75f2bb70612a23c775ae2ad84bd130 Mon Sep 17 00:00:00 2001 From: chourmovs <40670708+chourmovs@users.noreply.github.com> Date: Sun, 1 Sep 2024 21:20:24 +0200 Subject: [PATCH] 10 --- webapp/app.js | 5 ++++- webapp/public/index.html | 13 ++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/webapp/app.js b/webapp/app.js index 5aa36d3..2791a12 100644 --- a/webapp/app.js +++ b/webapp/app.js @@ -28,6 +28,9 @@ app.get('/find-directory', (req, res) => { }); }); + + + // Route pour monter le partage NAS (lecture seule) app.get('/mount-nas', (req, res) => { const networkPath = req.query.path; // Récupère le chemin du dossier NAS @@ -44,7 +47,7 @@ app.get('/mount-nas', (req, res) => { }); // Route pour lancer blissify init après le montage -app.get('/run-blissify', (req, res) => { +app.get('/start-analysis', (req, res) => { // Utiliser le chemin monté const command = `blissify init /mnt/Musique`; diff --git a/webapp/public/index.html b/webapp/public/index.html index 400ee0d..f8c0dad 100644 --- a/webapp/public/index.html +++ b/webapp/public/index.html @@ -8,19 +8,14 @@