diff --git a/portal.cfg b/portal.cfg index 3af8a83..e88bb26 100644 --- a/portal.cfg +++ b/portal.cfg @@ -10,6 +10,8 @@ redis_port=6379 plugin_ttl=120 +index_page=portalindex + [logging] log_format = %(asctime)s %(name)s[%(process)s] %(levelname)s: %(message)s log_debug = False diff --git a/portal.py b/portal.py index 9fbbd58..8c722d7 100644 --- a/portal.py +++ b/portal.py @@ -165,7 +165,7 @@ app.router.add_filter('uuid', uuid_filter) @app.route('/') def portalindex(): return template( - 'portalindex', + config.get('portal', 'index_page'), plugin_ttl=config.get('portal', 'plugin_ttl') )