Auto redirect if available before countdown on state change

This commit is contained in:
JonnyWong16 2016-10-11 19:18:15 -07:00 committed by JonnyWong16
parent 27183483a9
commit d47daba8c1
2 changed files with 46 additions and 15 deletions

View file

@ -3324,7 +3324,7 @@ class WebInterface(object):
else:
new_http_root = '/'
return serve_template(templatename="shutdown.html", title=title,
return serve_template(templatename="shutdown.html", signal=signal, title=title,
new_http_root=new_http_root, message=message, timer=timer, quote=quote)
@cherrypy.expose