From f0b9a9c404958f62672604de1b589e2185072957 Mon Sep 17 00:00:00 2001 From: flejk Date: Mon, 15 May 2023 13:26:48 +0200 Subject: [PATCH] updated root path to relative one --- components/questionContainer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/questionContainer.php b/components/questionContainer.php index ac97a71..c8fcd0e 100644 --- a/components/questionContainer.php +++ b/components/questionContainer.php @@ -23,7 +23,7 @@ let chose = 0; (async () => { - let res = await fetch('/resources/questions.json') + let res = await fetch('resources/questions.json') res = await res.json() questions = res })()