Merge remote-tracking branch 'origin/next' into next
This commit is contained in:
commit
22ca9b03a0
|
@ -18,7 +18,7 @@ export default boot<Store<StateInterface>>(({ Vue, store }) => {
|
|||
axios.interceptors.request.use(config => {
|
||||
const session = store.state.user.session;
|
||||
if (session.token) {
|
||||
config.headers = {'Authorization': 'Token ' + session.token};
|
||||
config.headers = {'Authorization': 'Bearer ' + session.token};
|
||||
}
|
||||
return config;
|
||||
});
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const config = {
|
||||
baseURL: 'http://flaschengeist.local:5000'
|
||||
baseURL: '/api'
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
|
Loading…
Reference in New Issue