MIME types missing in Azure WebSites

Written by ppolyzos

Software engineer based in beautiful Luxembourg


    1. ppolyzos

      I have created a very simple web app to check if deploying a web app through git resets web.config but I am not able to replicate your issue.
      You can check the repository here and the website here.

      Please check if you include your Web.config file in your commits and that `staticContent` configuration is properly set.
      If your project is publicly available I could have a look.

  1. swati

    web.config is not available as its a angular project. Then how to fix this issue. deploying the app to azure app service and fonts used are .woff, .woff2 and .otf .

    1. ppolyzos

      To deploy an angular file you don’t necessarily need App Service. You can utilize Azure Storage which is much cheaper and you won’t have any issue with .woff files.
      You can read more here for a step by step guide.

Leave a Comment

Your email address will not be published. Required fields are marked *