diff --git a/camera/camera.go b/camera/camera.go index 4af4001..1bebcb4 100644 --- a/camera/camera.go +++ b/camera/camera.go @@ -36,7 +36,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 {