Blame view

public/index.html 930 Bytes
任超 committed
1
<!--
任超 committed
2
 * @Description: 引入配置文件
任超 committed
3
 * @Autor: renchao
4
 * @LastEditTime: 2023-05-08 15:02:53
任超 committed
5
-->
任超 committed
6 7
<!DOCTYPE html>
<html>
任超 committed
8 9 10 11 12 13 14 15 16 17 18 19

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="renderer" content="webkit">
  <meta name="referrer" content="no-referrer" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  <title>
    <%= webpackConfig.name %>
  </title>
</head>
renchao@pashanhoo.com committed
20
<script>
21
  fetch('<%= BASE_URL %>config.json')
renchao@pashanhoo.com committed
22 23 24 25 26
    .then(response => response.json())
    .then(config => {
      window.config = config
    });
</script>
任超 committed
27 28 29 30 31

<body>
  <div id="app"></div>
</body>

任超 committed
32
</html>
任超 committed
33

任超 committed
34
<script>
任超 committed
35 36
  window.baseUrl = location.origin || location.protocol + '//' + location.host
  window.timeout = 5000
任超 committed
37
  window.authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6"
任超 committed
38
</script>