增加Max-Age配置项

This commit is contained in:
Argo-Lenovo 2016-12-23 13:42:04 +08:00
parent 28ab643d4a
commit 64729ceaed
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@
<add name="Access-Control-Allow-Origin" value="*" /> <add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET,POST,PUT,DELETE,OPTIONS"/> <add name="Access-Control-Allow-Methods" value="GET,POST,PUT,DELETE,OPTIONS"/>
<add name="Access-Control-Allow-Headers" value="Token" /> <add name="Access-Control-Allow-Headers" value="Token" />
<add name="Access-Control-Max-Age" value="30" />
</customHeaders> </customHeaders>
</httpProtocol> </httpProtocol>
<staticContent> <staticContent>