Fix player sync empty overwrites and force CSS cache refresh.

Keep D1 recent/heroes/peers/rank when OpenDota is partial; bump site to 0.6.55 and shorten style.css cache so「我」layout is not stuck on stale CSS.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
voson
2026-08-01 01:46:13 +08:00
co-authored by Cursor
parent 41d272ba29
commit cafd0651b1
9 changed files with 102 additions and 20 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
Cache-Control: public, max-age=60, must-revalidate
/style.css
Cache-Control: public, max-age=300, must-revalidate
Cache-Control: public, max-age=60, must-revalidate
/fonts/*
Cache-Control: public, max-age=31536000, immutable
+1 -1
View File
@@ -1,5 +1,5 @@
/* Local defaults; production export overwrites via export_relations_site.py. */
var SITE_VERSION = "0.6.54";
var SITE_VERSION = "0.6.55";
var SITE_ORIGIN = "";
var ABILITY_VIDEO_BASE = "";
var STATIC_ASSET_BASE = "";
+5 -5
View File
@@ -43,8 +43,8 @@
}
</script>
<link rel="icon" href="/ui-icon/dota2_logo.png" type="image/png" />
<link rel="stylesheet" href="/style.css?v=0.6.54" />
<script src="/mobile-gate.js?v=0.6.54"></script>
<link rel="stylesheet" href="/style.css?v=0.6.55" />
<script src="/mobile-gate.js?v=0.6.55"></script>
</head>
<body>
<h1 class="sr-only">DOTA2 上分帝</h1>
@@ -256,8 +256,8 @@
</div>
<footer class="heroes-site-foot" id="heroes-site-foot" aria-hidden="true"></footer>
<script src="/config.js?v=0.6.54"></script>
<script src="/router.js?v=0.6.54"></script>
<script src="/app.js?v=0.6.54"></script>
<script src="/config.js?v=0.6.55"></script>
<script src="/router.js?v=0.6.55"></script>
<script src="/app.js?v=0.6.55"></script>
</body>
</html>