Set up an axios interceptor to inject the auth token on all requests

This commit is contained in:
Benedikt Kulmann
2020-05-12 15:46:33 +02:00
parent 0fddb624d0
commit 56bbab28e7
5 changed files with 29 additions and 9 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ import SettingsApp from './components/SettingsApp.vue'
import store from './store'
// just a dummy function to trick gettext tools
function $gettext(msg) {
function $gettext (msg) {
return msg
}
@@ -14,7 +14,7 @@ const appInfo = {
isFileEditor: false,
extensions: [],
config: {
url: 'http://localhost:9190'
url: 'https://localhost:9200'
}
}