diff options
Diffstat (limited to 'server.py')
-rw-r--r-- | server.py | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -9,12 +9,7 @@ from flask_caching import Cache app = Flask(__name__) compress = Compress() -cache = Cache( - config={ - 'CACHE_TYPE': siteconfig.CACHE_TYPE, - 'CACHE_DEFAULT_TIMEOUT': siteconfig.CACHE_DEFAULT_TIMEOUT, - } -) +cache = Cache(config=siteconfig.cache_config) from views import * |