diff --git a/ESP32_SpeechRecognition.html b/ESP32_SpeechRecognition.html
index 9fb5043857..852d2d9285 100644
--- a/ESP32_SpeechRecognition.html
+++ b/ESP32_SpeechRecognition.html
@@ -196,7 +196,7 @@
else {
document.getElementById("showText").innerHTML = "";
document.getElementById("result").innerHTML = Recognition_final;
- document.getElementById("command").innerHTML = "http://" +STAIP + "?speech=" + Recognition_final.toLowerCase().trim() + ";" + document.getElementById("lang").value;
+ document.getElementById("command").innerHTML = "http://" +STAIP + "?speech=" + Recognition_final.toLowerCase().trim() + ";" + document.getElementById("lang").value + ";" + document.getElementById("chk").value;
if (document.getElementById("chk").checked == false) {
document.getElementById("showText").innerHTML = "";
document.getElementById("result").innerHTML = "";
@@ -223,7 +223,7 @@
else {
document.getElementById("showText").innerHTML = "";
document.getElementById("result").innerHTML = errTemp;
- document.getElementById("command").innerHTML = "http://" +STAIP + "?speech=" + errTemp.toLowerCase().trim() + ";" + document.getElementById("lang").value;
+ document.getElementById("command").innerHTML = "http://" +STAIP + "?speech=" + errTemp.toLowerCase().trim() + ";" + document.getElementById("lang").value + ";" + document.getElementById("chk").value;
if (document.getElementById("chk").checked == false) {
document.getElementById("showText").innerHTML = "";
document.getElementById("result").innerHTML = "";