Skip to content

Commit

Permalink
Add web config for json mimeType
Browse files Browse the repository at this point in the history
Should fix serving static json files in azure, according to
https://stackoverflow.com/a/29633038.
  • Loading branch information
koenmetsu committed Jun 11, 2017
1 parent 3c784e3 commit 44557c1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions web.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0"?>

<configuration>
<system.webServer>
<staticContent>
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>
</system.webServer>
</configuration>

0 comments on commit 44557c1

Please sign in to comment.