Skip to content

Commit 44557c1

Browse files
committed
Add web config for json mimeType
Should fix serving static json files in azure, according to https://stackoverflow.com/a/29633038.
1 parent 3c784e3 commit 44557c1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

web.config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0"?>
2+
3+
<configuration>
4+
<system.webServer>
5+
<staticContent>
6+
<remove fileExtension=".json" />
7+
<mimeMap fileExtension=".json" mimeType="application/json" />
8+
</staticContent>
9+
</system.webServer>
10+
</configuration>

0 commit comments

Comments
 (0)