From a20d9724ff78b399788d63a7877b563fbb8e6274 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Wed, 27 Nov 2019 12:09:01 +0100 Subject: [PATCH] YoLo --- src/services/Server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/Server.js b/src/services/Server.js index deaa4315..623d0965 100644 --- a/src/services/Server.js +++ b/src/services/Server.js @@ -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) {