diff --git a/octoprint_enclosure/static/js/enclosure.js b/octoprint_enclosure/static/js/enclosure.js index 83d57dc..416ba37 100644 --- a/octoprint_enclosure/static/js/enclosure.js +++ b/octoprint_enclosure/static/js/enclosure.js @@ -83,7 +83,7 @@ $(function() { type: "GET", dataType: "json", data: {"pin": data[0], "status": data[1]}, - url: "/plugin/enclosure/handleIO", + url: "/plugin/enclosure/setIO", async: false }); }