2023-10-17 11:00:41 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2023-10-30 19:09:40 +08:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> -->
|
|
|
|
<script>
|
|
|
|
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
|
|
|
|
CSS.supports('top: constant(a)'))
|
|
|
|
document.write(
|
|
|
|
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
|
|
|
|
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
|
|
|
|
</script>
|
2023-12-20 23:41:00 +08:00
|
|
|
<script src="https://unpkg.com/mqtt/dist/mqtt.min.js"></script>
|
2023-10-30 19:09:40 +08:00
|
|
|
<title></title>
|
|
|
|
<!--preload-links-->
|
|
|
|
<!--app-context-->
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="app"><!--app-html--></div>
|
|
|
|
<script type="module" src="/main.js"></script>
|
2023-12-20 23:41:00 +08:00
|
|
|
<script>
|
|
|
|
console.log(mqtt)
|
|
|
|
</script>
|
2023-10-30 19:09:40 +08:00
|
|
|
</body>
|
|
|
|
</html>
|