Maybe?
This commit is contained in:
parent
2a8734eec8
commit
d0940d7bc1
@ -7,7 +7,11 @@
|
|||||||
<title>Hestia</title>
|
<title>Hestia</title>
|
||||||
<script src="https://cdn.tailwindcss.com"></script>
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
<script src="https://unpkg.com/mqtt/dist/mqtt.js"></script>
|
<script src="https://unpkg.com/mqtt/dist/mqtt.js"></script>
|
||||||
<script type="module" src="https://ps.3411.one/assets/hestia.js"></script>
|
<script type="module">
|
||||||
|
import { refreshState, togglePower } from './assets/hestia.js';
|
||||||
|
window.togglePower = togglePower;
|
||||||
|
window.refreshState = refreshState;
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="bg-gray-900 text-white font-sans">
|
<body class="bg-gray-900 text-white font-sans">
|
||||||
|
Loading…
Reference in New Issue
Block a user