From 9e7e14d15be7f1342319a3432074de7ccf5637c5 Mon Sep 17 00:00:00 2001 From: MK3S+ Printer Date: Mon, 11 Jul 2022 15:58:16 +0200 Subject: [PATCH] Expose `snapshot.jpg` --- cmd/camera-streamer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/camera-streamer.c b/cmd/camera-streamer.c index d03fa51..82ca7a0 100644 --- a/cmd/camera-streamer.c +++ b/cmd/camera-streamer.c @@ -75,6 +75,7 @@ void camera_http_option(http_worker_t *worker, FILE *stream) http_method_t http_methods[] = { { "GET /snapshot?", http_snapshot }, + { "GET /snapshot.jpg?", http_snapshot }, { "GET /stream?", http_stream }, { "GET /?action=snapshot", http_snapshot }, { "GET /?action=stream", http_stream },