cloudfront - deptno/deptno.github.io GitHub Wiki
cloudfront
error
Access to XMLHttpRequest at 'https://XXX.com' from origin 'https://YYY.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
ν΄λΉ λ©μμ§μμ λ°μ μλ΅μ½λλ 200
μ΄μλ€.
ν΄λΉ μ²λ¦¬λ s3 μμ cors μ λλ©μΈ μ£Όμ
ν cf invalidation μ²λ¦¬λ₯Ό νλ€.
μλ΅μ΄ μλ κ²½μ°
cors κ΄λ ¨ν΄μ λ°μν λ¬Έμ λ‘ safari μμλ μλ΅μ½λκ° μ‘΄μ¬νμ§ μκ³ , ν¬λ‘¬μμλ 403μ΄ λ¨μ΄μ§λλ± μΌκ΄μ μ΄μ§ μμ μ μλ€.
OPTIONS
μ λ°μ μ μλλ‘ GET, HEAD, OPTIONS
μ΄μμ μ΅μ
μ μ ννλ€.