#8 Relais ein / ausschalten von Ocotprint aus

- url korrigiert
This commit is contained in:
David Zingg 2019-11-24 15:45:12 +01:00
parent 0cab5c3bc6
commit 576a53fad1

View File

@ -11,7 +11,7 @@ $(function() {
self.onToggleRelayEvent = function(){ self.onToggleRelayEvent = function(){
$.ajax({ $.ajax({
url: API_BASEURL + "/plugin/mystromswitch", url: API_BASEURL + "plugin/mystromswitch",
type: "POST", type: "POST",
dataType: "json", dataType: "json",
data: JSON.stringify({ data: JSON.stringify({