From 08b551201fe72e71fd031a22542439d3e1b70169 Mon Sep 17 00:00:00 2001
From: Fulgen301 <tokmajigeorge@gmail.com>
Date: Sun, 16 Sep 2018 16:59:45 +0200
Subject: Initial adapt to LegacyClonk

---
 src/pages/FetchToken.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/FetchToken.vue')

diff --git a/src/pages/FetchToken.vue b/src/pages/FetchToken.vue
index 6745377..d681ca8 100644
--- a/src/pages/FetchToken.vue
+++ b/src/pages/FetchToken.vue
@@ -47,7 +47,7 @@
             }
             else {
               let that = this
-              this.$http.get('/uploads', {headers: {Authorization: `Bearer ${this.routeToken}`}}).then(response => {
+              this.$http.get('/api/auth', {headers: {Authorization: `JWT ${this.routeToken}`}}).then(response => {
                 that.tokenValid = true
                 that.$store.commit('user/setAuthToken', { authToken: that.routeToken })
                 window.close()
-- 
cgit v1.2.3-54-g00ecf

