当 URL 已经在标头中时,为什么会出现此错误Access-Control-Allow-Origin
!?
错误
XMLHttpRequest cannot load http://cdn.localhost/data/voucher/16_ead32751b66fd6c7856b7db0e186574df37a7d08.pdf. Origin http://secure.localhost is not allowed by Access-Control-Allow-Origin.
Refused to get unsafe header "Accept-Ranges"
htaccess (cdn.localhost)
Header add Access-Control-Allow-Origin "http://secure.localhost"