Esp32AutoCamera icon indicating copy to clipboard operation
Esp32AutoCamera copied to clipboard

Move meta tag to the head

Open s7726 opened this issue 5 years ago • 1 comments

https://github.com/dproldan/Esp32AutoCamera/blob/master/CameraWebServerV1/CameraWebServerV1.ino#L26

You may have better luck with browser compatibility by moving the tag into the

section, and adding a space after the semicolon. The lang isn't necessary it just makes it pass the validator squeaky clean. Like this:
<!DOCTYPE html><html lang="en">
<head><title>CaptivePortal</title>
<meta http-equiv="refresh" content="1; url=http://172.217.28.1:81/stream"/></head><body>
<h1>Please Wait!</h1><p>You will be redirected to the camera stream shortly.</p></body></html>

https://validator.w3.org/

s7726 avatar Jun 12 '19 15:06 s7726

Thanks! I'll try that.

dproldan avatar Jun 12 '19 20:06 dproldan