From f80a0b3927827c156df7e264b6850e89234c47d9 Mon Sep 17 00:00:00 2001 From: PaulPHPE <93597135+PaulPHPE@users.noreply.github.com> Date: Wed, 28 Feb 2024 09:44:25 +0100 Subject: [PATCH] fix(api): add ending slash to prevent 307 redirect --- assets/js/services/ApiService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/services/ApiService.js b/assets/js/services/ApiService.js index 30ebcdf7..dcb6dd2b 100644 --- a/assets/js/services/ApiService.js +++ b/assets/js/services/ApiService.js @@ -23,7 +23,7 @@ class ApiService { }, }; - return this.#fetchApi("tasks/ecoindexes", options); + return this.#fetchApi("tasks/ecoindexes/", options); } /**