release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 22ca9b03a0 - 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;
}); });

View File

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