Blame view

public/index.html 1.13 KB
a0ea7efe   梁保满   init
1
2
3
4
5
6
7
  <!DOCTYPE html>
  <html lang="">
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
818e50d7   梁保满   标签删除,修改
8
9
10
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
6d7bd862   梁保满   飞书bug
11
    <!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico"> -->
a0ea7efe   梁保满   init
12
13
14
15
16
17
    <title>
      <%= htmlWebpackPlugin.options.title %>
    </title>
  </head>
  
  <body>
6d7bd862   梁保满   飞书bug
18
19
20
21
    <script>
      var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
      link.type = 'image/x-icon';
      link.rel = 'shortcut icon';
818e50d7   梁保满   标签删除,修改
22
23
      var csCode = localStorage.getItem("csCode") || ""
      link.href = csCode ? "./331icon.ico" : "./favicon.ico";
6d7bd862   梁保满   飞书bug
24
25
      document.getElementsByTagName('head')[0].appendChild(link);
    </script>
a0ea7efe   梁保满   init
26
27
28
29
30
31
32
33
34
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
          Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
  
  </html>