Created
January 23, 2017 15:23
-
-
Save alexsorokoletov/b8478ca88c908dbab20221ab265808ef to your computer and use it in GitHub Desktop.
Web.config for Azure App Services/Web Sites to allow downloading static files (withouth extension) for Electron autoupdate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<staticContent> | |
<mimeMap fileExtension="." mimeType="text/plain" /> | |
<mimeMap fileExtension=".nupkg" mimeType="application/octet-stream" /> | |
<mimeMap fileExtension=".exe" mimeType="application/octet-stream" /> | |
<mimeMap fileExtension=".zip" mimeType="application/x-zip-compressed" /> | |
</staticContent> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@rochapablo it works for me placing web.config in the site/wwwroot (default location)