Initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0" />
|
||||
</head>
|
||||
<body>
|
||||
<img
|
||||
id="live-image"
|
||||
src="/image"
|
||||
alt="Live Image"
|
||||
style="max-width: 100%; height: auto" />
|
||||
|
||||
<script>
|
||||
setInterval(function () {
|
||||
document.getElementById("live-image").src =
|
||||
"/image?" + new Date().getTime();
|
||||
}, 3500); // Update every 2 seconds
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user