Google Chrome gives warning Resource interpreted as Font but transferred with MIME type application/octet-stream:

前端 未结 3 1257
刺人心
刺人心 2021-02-04 04:46

I keep getting this warning

Resource interpreted as Font but transferred with MIME type application/octet-stream: \"http://127.0.0.1:8080/assets/font/fontawesome-webfont

3条回答
  •  广开言路
    2021-02-04 05:02

    For my IIS instance, i had to use the following:

    .woffapplication/font-woff (not application/x-font-woff)

    See:

    • Resource interpreted as Font but transferred with MIME type application/x-font-woff
    • http://zduck.com/2013/google-chrome-and-woff-font-mime-type-warnings/

提交回复
热议问题