Resolved CORS errors for document upload BOD-407

This commit is contained in:
Patrick Fic
2020-09-22 11:11:15 -07:00
parent abb22a5d0f
commit 43490bbcba
7 changed files with 41 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ import App from "./App";
moment.locale("en-US");
axios.interceptors.request.use(
export const axiosAuthInterceptorId = axios.interceptors.request.use(
async (config) => {
if (!config.headers.Authorization) {
const token =