Redmine API CORS problem

Added by Aymen BG over 3 years ago

Hello , I'm using redmine api 4.1.1 with bitnami sack , when I try to access any redmine recource from my react app I get this error :
" Access to fetch at '***' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status."
note that i tried to add HTTP header configuration lines to my Apache config (httpd.conf) but that didn't work for me.
Any other ideas?