app: add jpg files to AUTHORIZED_EXTS
Signed-off-by: Mathis Mensing <github@matmen.dev>
This commit is contained in:
parent
60b871adbe
commit
cd19b51117
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue