Small update to js config request

main
Ben Busby 2020-04-16 18:12:30 -06:00
parent e72ccc4988
commit bd773ec5ff
1 changed files with 1 additions and 1 deletions

View File

@ -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");