chore(dep): bump flask from 3.0.1 to 3.1.0 and flask-compress to 1.17 (#11195)
This commit is contained in:
parent
cc0b92bc75
commit
2feb44e2c5
3 changed files with 25 additions and 75 deletions
|
|
@ -7,11 +7,5 @@ def init_app(app: Flask):
|
|||
if dify_config.API_COMPRESSION_ENABLED:
|
||||
from flask_compress import Compress
|
||||
|
||||
app.config["COMPRESS_MIMETYPES"] = [
|
||||
"application/json",
|
||||
"image/svg+xml",
|
||||
"text/html",
|
||||
]
|
||||
|
||||
compress = Compress()
|
||||
compress.init_app(app)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue