Fontawesome does not work when served by IIS

后端 未结 10 751
梦谈多话
梦谈多话 2021-01-02 17:10

FontAwesome does not work for me when I put my app on IIS7 server.

In Firefox the requested URL is encoded to http://l2etest.kema.intra/fonts/fontawesome-webfo

10条回答
  •  攒了一身酷
    2021-01-02 17:38

    If you're adding FontAwesome via bundling, it can throw out the woff2 url. See the following solution on a similar thread where CssRewriteUrlTransform is used to rework the url: https://stackoverflow.com/a/22700610/746984

提交回复
热议问题