mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-15 10:43:39 +00:00
replace indexOf with includes where possible
This commit is contained in:
@@ -13,7 +13,7 @@ exports.config = {
|
||||
devicePort: 4352,
|
||||
listenPort: 4352,
|
||||
validateResponse(msg, info) {
|
||||
return msg.toString().indexOf('%2ACKN=') >= 0;
|
||||
return msg.toString().includes('%2ACKN=');
|
||||
},
|
||||
},
|
||||
fields: [
|
||||
|
||||
Reference in New Issue
Block a user