app: add jpg files to AUTHORIZED_EXTS

Signed-off-by: Mathis Mensing <github@matmen.dev>
This commit is contained in:
Mathis Mensing authored and Eric Callahan committed 2022-10-10 19:41:30 -04:00
1 parent 60b871adbe
commit cd19b51117
1 file changed
+1 -1
+1 -1
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")