From cd19b51117db76b31cf09440263516fa4e14e39b Mon Sep 17 00:00:00 2001 From: Mathis Mensing Date: Mon, 10 Oct 2022 18:45:08 +0200 Subject: [PATCH] app: add jpg files to AUTHORIZED_EXTS Signed-off-by: Mathis Mensing --- moonraker/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/app.py b/moonraker/app.py index 9a58f4f..52e46c7 100644 --- a/moonraker/app.py +++ b/moonraker/app.py @@ -64,7 +64,7 @@ RESERVED_ENDPOINTS = [ # 50 MiB Max Standard Body Size MAX_BODY_SIZE = 50 * 1024 * 1024 EXCLUDED_ARGS = ["_", "token", "access_token", "connection_id"] -AUTHORIZED_EXTS = [".png"] +AUTHORIZED_EXTS = [".png", ".jpg"] DEFAULT_KLIPPY_LOG_PATH = "/tmp/klippy.log" ALL_TRANSPORTS = ["http", "websocket", "mqtt", "internal"] ASSET_PATH = pathlib.Path(__file__).parent.joinpath("assets")