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

How can I allow CORS for localhost or another site? 

from origin 'http://localhost:4060' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.


@http.route(
'/hospital',
type='http', auth='user', methods=['GET', 'OPTIONS'], csrf=False, cors='*')
아바타
취소