내가이 오류 메시지를 얻을이 코드를 실행할 때마다 사용할 수 있습니다 :
AJAX 오류 메시지가 MIME 타입 검사는
index.html을 : 1 'http://quotesondesign.com/wp-json/posts?callback=jQuery321021689358047216856_1511579115978'에서 스크립트를 실행 거부의 MIME 타입 때문에 ('application/json')은 실행 가능하지 않으며 엄격한 MIME 유형 검사가 사용 가능합니다.
$.ajax({
url: "http://quotesondesign.com/wp-json/posts",
type: "GET",
dataType: 'jsonp',
cache: true,
success: function (data, status, error) {
console.log('success', data);
}
});
나는 해결책을 찾을 수 없습니다, 내가이 버그를 해결하는 데 도움이 바랍니다.