-
-
Save gregorypilar/f1ed0adf64541a66826834ffa2b47d43 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