This commit is contained in:
Kekskurse 2019-11-27 12:09:01 +01:00
parent d0a65ef67e
commit a20d9724ff

View file

@ -16,8 +16,8 @@ export default {
axios.get('/apiurl') axios.get('/apiurl')
.then(function (response) { .then(function (response) {
// handle success // handle success
console.log(response) console.log(response.data.trim())
localStorage.setItem("apiURL", atob(response.data)+`api/`) localStorage.setItem("apiURL", response.data.trim()+`api/`)
resolve(); resolve();
}) })
.catch(function (error) { .catch(function (error) {