@@ -11,7 +11,7 @@ axios.defaults.withCredentials = false;
axios.interceptors.request.use(
(config: any) => {
config.headers.Authorization =
- 'Bearer ' + ( getCookie('token') || '');
+ 'Bearer ' + ( getCookie('token') || new URLSearchParams(location.search).get('token') || '');
return config;
},