forked from cjw0511/jquery-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
web.config
36 lines (31 loc) · 911 Bytes
/
web.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="utf-8"?>
<!--
有关如何配置 ASP.NET 应用程序的详细信息,请访问
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
</system.web>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="index.html" />
</files>
</defaultDocument>
<staticContent>
<remove fileExtension=".json"/>
<remove fileExtension=".jsonp"/>
<mimeMap fileExtension=".json" mimeType="application/json" />
<mimeMap fileExtension=".jsonp" mimeType="application/json" />
</staticContent>
<directoryBrowse enabled="true" />
</system.webServer>
</configuration>