From 4ceb29c93c6b03379e86d89bf7511286d77070b3 Mon Sep 17 00:00:00 2001 From: fustyles <34397289+fustyles@users.noreply.github.com> Date: Tue, 10 Oct 2023 23:08:49 +0800 Subject: [PATCH] Update hands_esp32cam_stream.js --- hands_20220614/hands_esp32cam_stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hands_20220614/hands_esp32cam_stream.js b/hands_20220614/hands_esp32cam_stream.js index df11b754a2..046224b6e7 100644 --- a/hands_20220614/hands_esp32cam_stream.js +++ b/hands_20220614/hands_esp32cam_stream.js @@ -12,7 +12,7 @@ window.onload = function () { var hands = document.getElementById("hands"); var result = document.getElementById("gamediv_hands"); - ShowImage.src = window.location.hostname+':81/?stream'; + ShowImage.src = 'http://'+window.location.hostname+':81/?stream'; ShowImage.style.visibility = "visible"; setTimeout(function(){ShowImage.style.visibility = "hidden";start();},5000);