fixed dev url
This commit is contained in:
@@ -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?")
|
||||
|
||||
Reference in New Issue
Block a user