CORS failure in DSpace 7 Docker-Compose instance Cross Origin Request Blocked

37 views
Skip to first unread message

Julien Cochennec

unread,
Jan 31, 2020, 5:11:07 AM1/31/20
to DSpace Community
Hi,
Fortunately all commands worked, but when I get on the index page on localhost:3000, I get the infinite "loading" gif.
Toggling the web developer tools, it says "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8080/api/core/sites. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)."

I already had this message in an angular developement, how can I fix the docker image to avoid this?
Thanks for your help, I search CORS and "Cross origin" on the list, but got no result.
Reply all
Reply to author
Forward
0 new messages