From 510628b1f640f1e13ad92c5d6d51c254a3d632c5 Mon Sep 17 00:00:00 2001 From: baiobelfer Date: Wed, 16 Oct 2024 11:29:29 +0200 Subject: [PATCH] updates app.js --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 40d8174..48ad36d 100644 --- a/js/app.js +++ b/js/app.js @@ -21,7 +21,7 @@ async function loadClasses() { // Iterowanie po wszystkich klasach i wczytywanie plików z danymi uczniów for (const classInfo of classes) { - const studentsFilePath = classInfo.file_path; + const studentsFilePath = '/data/'+ classInfo.file_path; const studentsData = await fetchJSONFile(studentsFilePath); if (studentsData) {