From bd773ec5ff28841106022fa53bc65748f756efe5 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Thu, 16 Apr 2020 18:12:30 -0600 Subject: [PATCH] Small update to js config request --- app/static/js/controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/controller.js b/app/static/js/controller.js index aa51e6e..b64983b 100644 --- a/app/static/js/controller.js +++ b/app/static/js/controller.js @@ -43,7 +43,7 @@ document.addEventListener("DOMContentLoaded", function() { // Request existing config info let xhrGET = new XMLHttpRequest(); - xhrGET.open("GET", "/static/config.json"); + xhrGET.open("GET", "/config"); xhrGET.onload = function() { if (xhrGET.readyState === 4 && xhrGET.status !== 200) { alert("Error loading Shoogle config");