summaryrefslogtreecommitdiffstats
path: root/src/main.js
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2021-11-14 03:36:10 +0100
committerjdlugosz963 <jdlugosz963@gmail.com>2021-11-14 03:36:10 +0100
commit7f2f1e63826c0acb4514edfb1fbf7a884893f8c4 (patch)
tree3a9c5d0b74e698c00d9e0ce35b4e80721c8ad548 /src/main.js
parent319dd896f3a44237e1c26f3887fcb259f80f2714 (diff)
downloadlom_frontend-7f2f1e63826c0acb4514edfb1fbf7a884893f8c4.tar.gz
lom_frontend-7f2f1e63826c0acb4514edfb1fbf7a884893f8c4.zip
Add command line
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js
index 95d9800..fd31090 100644
--- a/src/main.js
+++ b/src/main.js
@@ -4,12 +4,14 @@ import router from './router'
4import store from './store' 4import store from './store'
5import Axios from 'axios' 5import Axios from 'axios'
6import Notifications from 'vue-notification' 6import Notifications from 'vue-notification'
7import VueHotkey from 'v-hotkey'
7 8
8Vue.config.productionTip = false 9Vue.config.productionTip = false
9 10
10Axios.defaults.headers.common['Authorization'] = store.state.token !== "" && `Token ${store.state.token}`; 11Axios.defaults.headers.common['Authorization'] = store.state.token !== "" && `Token ${store.state.token}`;
11 12
12Vue.use(Notifications) 13Vue.use(Notifications)
14Vue.use(VueHotkey)
13 15
14new Vue({ 16new Vue({
15 router, 17 router,