当我在浏览器中打开我的 html 文件时,字体被 firefox 阻止,我在其他浏览器上没有任何问题,这只发生在 mozila firefox 上。
错误:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the
remote resourceat file:///C:/Users/SajjaD/Desktop/PdfCar%20New%20Theme/Theme/PdfCar%20V2/fonts/WebY ekan.woff. (Reason: CORS request not http).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the
remote resource at file:///C:/Users/SajjaD/Desktop/PdfCar%20New%20Theme/Theme/PdfCar%20V2/fonts/font awesome-webfont.woff2?v=4.5.0. (Reason: CORS request not http).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the
remote resource at file:///C:/Users/SajjaD/Desktop/PdfCar%20New%20Theme/Theme/PdfCar%20V2/fonts/font awesome-webfont.woff?v=4.5.0. (Reason: CORS request not http).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the
remote resource at file:///C:/Users/SajjaD/Desktop/PdfCar%20New%20Theme/Theme/PdfCar%20V2/fonts/fontawesome-webfont.ttf?v=4.5.0. (Reason: CORS request not http).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the
remote resource at file:///C:/Users/SajjaD/Desktop/PdfCar%20New%20Theme/Theme/PdfCar%20V2/fonts/dinar.woff. (Reason: CORS request not http).
我是一名优秀的程序员,十分优秀!