Project

General

Profile

Redmine API CORS problem

Added by Aymen BG almost 4 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 'http://127.0.0.1/redmine/projects.json?key=***' 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?