2
0
mirror of https://github.com/codl/forget synced 2025-01-03 18:59:23 +01:00

imgproxy: use global redis uri

This commit is contained in:
codl 2017-09-18 10:29:52 +02:00
parent 2fcbddd843
commit d6fe2ff9b6
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A

2
app.py
View File

@ -115,4 +115,4 @@ mimetypes.add_type('image/webp', '.webp')
lib.brotli.brotli(app)
imgproxy = lib.img_proxy.ImgProxyCache()
imgproxy = lib.img_proxy.ImgProxyCache(redis_uri=app.config.get('REDIS_URI'))