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();
|
xhr.send();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -189,7 +189,7 @@
|
|||||||
saveSchedule: function() {
|
saveSchedule: function() {
|
||||||
|
|
||||||
var xhr = new XMLHttpRequest();
|
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.setRequestHeader('Content-Type', 'application/html');
|
||||||
xhr.onload = function(e) {
|
xhr.onload = function(e) {
|
||||||
e.target.status === 200 ? alert("Gespeichert") : alert("Fehler: Falsches Passwort?")
|
e.target.status === 200 ? alert("Gespeichert") : alert("Fehler: Falsches Passwort?")
|
||||||
|
|||||||
Reference in New Issue
Block a user