FontAwesome fails to load fonts locally and in electron app

前端 未结 8 1472
野的像风
野的像风 2020-12-14 15:09

I have downloaded FontAwesome using npm and then copied the css-file and the fonts into the right folders in the root-diretory of my electron-application using grunts copy t

8条回答
  •  忘掉有多难
    2020-12-14 15:14

    I faced same issue, using API Gateway to serve static font-files on Amazon S3.

    I fixed it by adding */* as Binary Media Types on the AWS Console.

    More information on binary media types management on https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-payload-encodings-configure-with-console.html

提交回复
热议问题