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')
|
||||
.then(function (response) {
|
||||
// handle success
|
||||
console.log(response)
|
||||
localStorage.setItem("apiURL", atob(response.data)+`api/`)
|
||||
console.log(response.data.trim())
|
||||
localStorage.setItem("apiURL", response.data.trim()+`api/`)
|
||||
resolve();
|
||||
})
|
||||
.catch(function (error) {
|
||||
|
|
Reference in a new issue