DEV Community

Discussion on: How to deploy React Application on IIS Server

Collapse
 
diegoclemos profile image
diegoclemos

Nice work, thank you, I had some problems running the application, some images were not loading properly, after some investigation, I identified only *.webp image files weren't loading properly... so I found on StackOverflow the following tags that should be inserted on web.config file

    <staticContent> 
        <mimeMap fileExtension=".webp" mimeType="image/webp" /> 
    </staticContent> 
Enter fullscreen mode Exit fullscreen mode