Commit 9dcf7c61 authored by 涂伟's avatar 涂伟
parents bc05aba4 2dc97957
Pipeline #85866 passed with stages
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<configuration> <configuration>
<system.webServer> <system.webServer>
<defaultDocument> <defaultDocument>
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
</defaultDocument> </defaultDocument>
<rewrite> <rewrite>
<rules> <rules>
<rule name="route1" stopProcessing="true"> <rule name="route3" stopProcessing="true">
<match url="\/index\.html$" ignoreCase="true" /> <match url="\/index\.html$" ignoreCase="true" />
<action type="None" /> <action type="None" />
</rule> </rule>
<rule name="route2" stopProcessing="true"> <rule name="route4" stopProcessing="true">
<match url="." ignoreCase="true" /> <match url="." ignoreCase="true" />
<conditions logicalGrouping="MatchAll"> <conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
...@@ -29,4 +29,11 @@ ...@@ -29,4 +29,11 @@
</rules> </rules>
</rewrite> </rewrite>
</system.webServer> </system.webServer>
<location path="index.html">
<system.webServer>
<staticContent>
<clientCache cacheControlMode="DisableCache" />
</staticContent>
</system.webServer>
</location>
</configuration> </configuration>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment