You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You use "if(request.indexOf('M-SEARCH') > 0) ..." this is false if 'M-SEARCH' is at the beginning of a string.
Use "if(request.indexOf('M-SEARCH') > -1)" instead.
There are other occurrences of this.
indexOf('M-SEARCH') only looks for 'M' and not for 'M-SEARCH'. Use "M-SEARCH" instead (with double quotes).
The text was updated successfully, but these errors were encountered:
'M-SEARCH' changed to "M-SEARCH"
indexOf('M-SEARCH') only looks for 'M' and not for 'M-SEARCH'. Use "M-SEARCH" instead (with double quotes).
witnessmenow/esp8266-alexa-wemo-emulator#7
You use "if(request.indexOf('M-SEARCH') > 0) ..." this is false if 'M-SEARCH' is at the beginning of a string.
Use "if(request.indexOf('M-SEARCH') > -1)" instead.
There are other occurrences of this.
indexOf('M-SEARCH') only looks for 'M' and not for 'M-SEARCH'. Use "M-SEARCH" instead (with double quotes).
The text was updated successfully, but these errors were encountered: