release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 45da05901b - Show all commits

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;
}); });