Commit 2dc97957 authored by 田翔's avatar 田翔

fix: 配置文件替换

parent 0e2246b4
Pipeline #85837 failed with stages
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
......@@ -14,11 +14,11 @@
</defaultDocument>
<rewrite>
<rules>
<rule name="route1" stopProcessing="true">
<rule name="route3" stopProcessing="true">
<match url="\/index\.html$" ignoreCase="true" />
<action type="None" />
</rule>
<rule name="route2" stopProcessing="true">
<rule name="route4" stopProcessing="true">
<match url="." ignoreCase="true" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
......@@ -29,4 +29,11 @@
</rules>
</rewrite>
</system.webServer>
<location path="index.html">
<system.webServer>
<staticContent>
<clientCache cacheControlMode="DisableCache" />
</staticContent>
</system.webServer>
</location>
</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