From b703ebbe2a178c3eb3a6f67ee9cf6c1ceff547fa Mon Sep 17 00:00:00 2001 From: TheBacou <69599039+TheBacou@users.noreply.github.com> Date: Sun, 22 Sep 2024 19:40:20 +0200 Subject: [PATCH] Update get.js --- assets/js/pages/get.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/pages/get.js b/assets/js/pages/get.js index 5e1f3db..d234066 100644 --- a/assets/js/pages/get.js +++ b/assets/js/pages/get.js @@ -1,6 +1,6 @@ export async function get(file) { try { - const response = await import(file); + const response = await fetch(file); if (response.ok) { return await response.text(); } else {