app: add jpg files to AUTHORIZED_EXTS

Signed-off-by: Mathis Mensing <github@matmen.dev>
This commit is contained in:
Mathis Mensing 2022-10-10 18:45:08 +02:00 committed by Eric Callahan
parent 60b871adbe
commit cd19b51117
1 changed files with 1 additions and 1 deletions

View File

@ -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")