From d1692efddf81c3d6ad8a723e038910a863f8d59d Mon Sep 17 00:00:00 2001 From: Nemobi Date: Fri, 20 May 2022 14:42:32 +0200 Subject: [PATCH] Fixed stream redirect --- tasmota/xdrv_81_esp32_webcam.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xdrv_81_esp32_webcam.ino b/tasmota/xdrv_81_esp32_webcam.ino index fb75a5ffa..c654d35d5 100644 --- a/tasmota/xdrv_81_esp32_webcam.ino +++ b/tasmota/xdrv_81_esp32_webcam.ino @@ -911,7 +911,7 @@ void HandleWebcamMjpegTask(void) { void HandleWebcamRoot(void) { //CamServer->redirect("http://" + String(ip) + ":81/cam.mjpeg"); - Wc.CamServer->sendHeader("Location", WiFi.localIP().toString() + ":81/cam.mjpeg"); + Wc.CamServer->sendHeader("Location", "/cam.mjpeg"); Wc.CamServer->send(302, "", ""); AddLog(LOG_LEVEL_DEBUG, PSTR("CAM: Root called")); }