fixed dev url

This commit is contained in:
Felix
2020-03-12 22:03:31 +01:00
parent c483830864
commit 996b8286b8

View File

@@ -169,7 +169,7 @@
}
};
xhr.open("GET", "https://beta.kurswerkstatt-pan.de/api/schedule", true);
xhr.open("GET", "https://kurswerkstatt-pan.de/api/schedule", true);
xhr.send();
},
methods: {
@@ -189,7 +189,7 @@
saveSchedule: function() {
var xhr = new XMLHttpRequest();
xhr.open("POST", "https://beta.kurswerkstatt-pan.de/api/schedule", true);
xhr.open("POST", "https://kurswerkstatt-pan.de/api/schedule", true);
xhr.setRequestHeader('Content-Type', 'application/html');
xhr.onload = function(e) {
e.target.status === 200 ? alert("Gespeichert") : alert("Fehler: Falsches Passwort?")