mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
dynamically specify name of index page.
This commit is contained in:
parent
52e33e998d
commit
294eb58966
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue