Merge remote-tracking branch 'origin/next' into next

This commit is contained in:
Tim Gröger 2020-10-31 13:14:42 +01:00
commit 22ca9b03a0
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ export default boot<Store<StateInterface>>(({ Vue, store }) => {
axios.interceptors.request.use(config => { axios.interceptors.request.use(config => {
const session = store.state.user.session; const session = store.state.user.session;
if (session.token) { if (session.token) {
config.headers = {'Authorization': 'Token ' + session.token}; config.headers = {'Authorization': 'Bearer ' + session.token};
} }
return config; return config;
}); });

View File

@ -1,5 +1,5 @@
const config = { const config = {
baseURL: 'http://flaschengeist.local:5000' baseURL: '/api'
}; };
export default config; export default config;