mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-24 08:12:34 +02:00
Add flask-compress (#409)
Added flask compression for compressed responsed to limit the download time of plots. I switch this on by default. It could also be crontoled via DASH_COMPRESS as an env variable.
This commit is contained in:
parent
36f2d653b1
commit
762d3f9091
1123
poetry.lock
generated
1123
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -60,6 +60,7 @@ dash_cytoscape = "^0.3.0"
|
||||
dashvis = "^0.1.3"
|
||||
datetime = "^5.3"
|
||||
deutschland = {git = "https://github.com/TrisNol/deutschland.git", branch = "hotfix/python-3.11-support"}
|
||||
flask-compress = "^1.14"
|
||||
frozendict = "^2.3.8"
|
||||
html5lib = "^1.1"
|
||||
loguru = "^0.7.0"
|
||||
|
@ -27,6 +27,7 @@ app = Dash(
|
||||
suppress_callback_exceptions=True,
|
||||
external_stylesheets=[dbc.icons.BOOTSTRAP],
|
||||
title="Transparenzregister",
|
||||
compress=True,
|
||||
) # use dbc for icons
|
||||
app._favicon = "favicon.png" # noqa: SLF001
|
||||
add_auth(app)
|
||||
|
Loading…
x
Reference in New Issue
Block a user