Merge pull request '增加 index不缓存,解决更新后客户端缓存导致页面一直白屏' (#1) from dev_csw into master

Reviewed-on: http://121.41.2.71:3000/wyw/mh_jy_safe_web/pulls/1
This commit is contained in:
chenshaowei 2026-04-09 14:40:53 +08:00
commit 55554fb6b8

12
public/web.config Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<location path="index.html">
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Cache-Control" value="no-cache, no-store, must-revalidate" />
</customHeaders>
</httpProtocol>
</system.webServer>
</location>
</configuration>