YoLo
This commit is contained in:
parent
d0a65ef67e
commit
a20d9724ff
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Reference in a new issue