xinsi_book/public/index.html

46 lines
1.6 KiB
HTML
Raw Normal View History

2024-06-11 08:14:31 +00:00
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
2024-09-13 05:22:40 +00:00
<!-- <link rel="https://axdbook.zxkedu.com/bundles/app/images/zwsjimg2_06.png"> -->
2024-09-12 01:20:48 +00:00
<!-- <title><%= htmlWebpackPlugin.options.title %></title> -->
2025-01-08 11:00:20 +00:00
<title>数字教材</title>
2024-06-11 08:14:31 +00:00
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
2025-01-08 11:00:20 +00:00
<script src="./audio/example/fast-xml-parser.min.js"></script>
<script src="./audio/example/crypto-js.js"></script>
<script src="./audio/recorder/index.umd.js"></script>
<script src="./marked.min.js"></script>
2024-09-13 05:22:40 +00:00
<script>
setFavion = () => {
var link = document.querySelector("link[rel*='icon']")
// <link rel="icon" href="https://axdbook.zxkedu.com/bundles/app/images/zwsjimg2_06.png">
if (window.location.hostname.includes("axdbook")
2025-01-08 11:00:20 +00:00
||window.location.hostname.includes("zyxdbook")
2024-09-13 05:22:40 +00:00
||window.location.hostname.includes("local")
){
// if (window.location.hostname.includes("local")){
2025-01-08 11:00:20 +00:00
// document.title = "电子书阅读"
2024-09-13 05:22:40 +00:00
link.href = "../favicon.ico"
console.log(window.location.hostname)
}
}
setFavion()
</script>
2024-06-11 08:14:31 +00:00
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>