Update camera/camera.go

This commit is contained in:
2025-10-06 00:52:12 +00:00
parent 2f0d757e8a
commit bca9788eec

View File

@@ -35,7 +35,7 @@ func CaptureImage() bool {
if resp.Body != nil {
timestamp := time.Now()
filename := timestamp.Format("/axis-2006-01-02_15-04-05.jpg")
filename := timestamp.Format("/axis-2006-01-02_15-04-05.png")
img, _, err := image.Decode(resp.Body)
if err != nil {