25 lines
834 B
HTML
25 lines
834 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<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>
|
|
<script src="https://unpkg.com/mqtt/dist/mqtt.min.js"></script>
|
|
<title></title>
|
|
<!--preload-links-->
|
|
<!--app-context-->
|
|
</head>
|
|
<body>
|
|
<div id="app"><!--app-html--></div>
|
|
<script type="module" src="/main.js"></script>
|
|
<script>
|
|
console.log(mqtt)
|
|
</script>
|
|
</body>
|
|
</html> |