Revert "Server Side CORS Updates."

This reverts commit fde0681a93.
This commit is contained in:
Patrick Fic
2022-06-09 09:55:48 -07:00
parent 4844c42425
commit 447298c07d
2 changed files with 1 additions and 4 deletions

View File

@@ -6,8 +6,6 @@ if (process.env.NODE_ENV === "production") {
process.env.REACT_APP_AXIOS_BASE_API_URL || "https://api.imex.online/";
}
axios.defaults.withCredentials = true;
export const axiosAuthInterceptorId = axios.interceptors.request.use(
async (config) => {
if (!config.headers.Authorization) {