mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-29 16:29:19 +02:00
also echo
This commit is contained in:
@@ -78,9 +78,11 @@ xdr.on('connection', async (ws, request) => {
|
|||||||
switch(data.trim()) {
|
switch(data.trim()) {
|
||||||
case "wL1":
|
case "wL1":
|
||||||
serverConfig.lockToAdmin = true;
|
serverConfig.lockToAdmin = true;
|
||||||
|
send_to_xdr("wL1\n")
|
||||||
break;
|
break;
|
||||||
case "wL0":
|
case "wL0":
|
||||||
serverConfig.lockToAdmin = false;
|
serverConfig.lockToAdmin = false;
|
||||||
|
send_to_xdr("wL0\n")
|
||||||
break;
|
break;
|
||||||
// TODO: Do the wT, but not rn because i don't feel like doing the tunerlockTracker
|
// TODO: Do the wT, but not rn because i don't feel like doing the tunerlockTracker
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user