diff --git a/services/homelab-status-page/src/handlers.go b/services/homelab-status-page/src/handlers.go index e4e0ee5b..b641182e 100644 --- a/services/homelab-status-page/src/handlers.go +++ b/services/homelab-status-page/src/handlers.go @@ -1235,7 +1235,7 @@ func SaveBase6FromClientSendServer(c echo.Context) error { // // timestamp := time.Now().Format("20060102_150405") // e.g., 20240919_134500 - imageFileName := fmt.Sprintf("webcam_%s.jpg", timestamp) + imageFileName := fmt.Sprintf("%s.jpg", timestamp) imageFilePath := filepath.Join(outputPath, imageFileName) err = ioutil.WriteFile(imageFilePath, imgBytes, 0644) diff --git a/services/homelab-status-page/tmp/main b/services/homelab-status-page/tmp/main index 1589a6cf..65378ee8 100755 Binary files a/services/homelab-status-page/tmp/main and b/services/homelab-status-page/tmp/main differ diff --git a/services/homelab-status-page/views/university/dummy-stream.html b/services/homelab-status-page/views/university/dummy-stream.html index 12840b78..43bd247f 100644 --- a/services/homelab-status-page/views/university/dummy-stream.html +++ b/services/homelab-status-page/views/university/dummy-stream.html @@ -29,11 +29,11 @@ function refreshImage() { const imageElement = document.getElementById("liveImage"); const timestamp = new Date().getTime(); // Current timestamp to prevent caching - imageElement.src = `https://hashirama.blog/sensor_data/latest-webcam?t=${timestamp}`; + imageElement.src = `http://hashirama.blog/sensor_data/latest-webcam?t=${timestamp}`; const imageMutateElement = document.getElementById("jupyter-webcam-image"); - imageMutateElement.src = `https://hashrama.blog/sensor_data/latest-mutated-webcam${timestamp}`; + imageMutateElement.src = `http://hashrama.blog/sensor_data/latest-mutated-webcam${timestamp}`; } // Refresh the image every 50 milliseconds (20 frames per second)