Update script.js

This commit is contained in:
Janek 2024-04-10 23:24:31 +02:00
parent 9843913dbd
commit 5e1d3bbdb1

@ -35,7 +35,7 @@ if (location.protocol == 'https:') {
} else { } else {
websocketAddr = `ws://${window.location.host}/ws` websocketAddr = `ws://${window.location.host}/ws`
} }
websocketAddr = "ws://192.168.0.235:8000/ws" //websocketAddr = "ws://192.168.0.235:8000/ws"
// Util functions // Util functions
const clamp = (num, min, max) => Math.min(Math.max(num, min), max); const clamp = (num, min, max) => Math.min(Math.max(num, min), max);