콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
12081 화면

I am getting error shown below:

Access to fetch at 'http://my-domain.com' from origin 'http://127.0.0.1:5502' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Any idea where I can add CORS to allow every host so I will never see that error again!

아바타
취소
작성자 베스트 답변

I solved this by adding cors="*" to the controller of web module at the file function which showing cors error!

아바타
취소
관련 게시물 답글 화면 활동
0
7월 22
1497
1
6월 22
2571
1
12월 23
2729
3
11월 23
1751
2
8월 23
2395