From 55ff614083f9243d81183fd587d1bb67261b77b3 Mon Sep 17 00:00:00 2001 From: jdeath <17914369+jdeath@users.noreply.github.com> Date: Wed, 22 Dec 2021 10:56:18 -0500 Subject: [PATCH] Update api.js relative path --- src/www/js/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/js/api.js b/src/www/js/api.js index accbb579..5faa6c3f 100644 --- a/src/www/js/api.js +++ b/src/www/js/api.js @@ -6,7 +6,7 @@ class API { async call({ method, path, body }) { - const res = await fetch(`/api${path}`, { + const res = await fetch(`api${path}`, { method, headers: { 'Content-Type': 'application/json',