diff --git a/sys0-code/app/webcam.php b/sys0-code/app/webcam.php index df51d4b..b62b954 100644 --- a/sys0-code/app/webcam.php +++ b/sys0-code/app/webcam.php @@ -34,7 +34,8 @@ }; xhr.send(); // Execute the request } - + //do first load + loadAndSwapImage(); // Reload the image every 5 seconds setInterval(loadAndSwapImage, 5000);