Failed to decode downloaded font, OTS parsing error: invalid version tag + rails 4

后端 未结 25 1491
长发绾君心
长发绾君心 2020-12-04 11:46

I am doing assets pre-compile, and running the application in production mode. After compilation when I load the my index page I got followings warnings in the chrome consol

25条回答
  •  不思量自难忘°
    2020-12-04 12:07

    I got the exact same error, and in my case it turned out to be because of a wrong path for the @font-face declaration. The web inspector never complained with a 404 since the dev server we're using (live-server) was configured to serve up the default index.html on any 404:s. Without knowing any details about your setup, this could be a likely culprit.

提交回复
热议问题