ソースを参照

Merge branch '2023-9-5_简谱和节奏'

liushengqiang 1 年間 前
コミット
f29d8db7b2
1 ファイル変更4 行追加2 行削除
  1. 4 2
      index.html

+ 4 - 2
index.html

@@ -5,13 +5,15 @@
   <meta charset="UTF-8">
   <link rel="icon" href="/favicon.ico" />
   <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
-  <meta http-equiv="Cache-control" content="no-cache">
+  <meta http-equiv="Cache-control" content="no-cache, must-revalidate">
   <meta http-equiv="Cache" content="no-cache">
+  <meta http-equiv="pragma" CONTENT="no-cache">
+  <meta http-equiv="expires" CONTENT="0">
   <title>制谱</title>
   <script>
     window.addEventListener('error', function (event) {
       if (event.target.tagName === 'SCRIPT' && event.target.src.indexOf('assets/index') > -1) {
-        var  total = sessionStorage.getItem('SCRIPT_ERROR')
+        var total = sessionStorage.getItem('SCRIPT_ERROR')
         total = Number(total) || 0
         total = total + 1
         sessionStorage.setItem('SCRIPT_ERROR', total)