refactor: small tweaks and fixes

This commit is contained in:
Carlos Valente
2024-03-06 22:42:20 +01:00
committed by GitHub
parent 8196ea584d
commit d22cc48565
61 changed files with 401 additions and 198 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ const connectSocket = () => {
// we only need to read message type of ontime
if (type === 'ontime') {
// destructure known data from ontime
// see https://cpvalente.gitbook.io/ontime/control-and-feedback/websocket-api
// see https://docs.getontime.no/api/osc-and-ws/
const { timer, playback } = payload;
const timerElement = document.getElementById('timer');
if (playback == 'stop') {
+2 -2
View File
@@ -10,5 +10,5 @@
<body>
<div id="timer"></div>
<script src="./app.js" type="module"></script>
</html>
<script src="./app.js" type="text/javascript"></script>
</html>