avoid problems with missing trailing slash
This commit is contained in:
parent
5e06806d40
commit
4c7ed4b7be
1 changed files with 3 additions and 0 deletions
3
htman.py
3
htman.py
|
@ -47,6 +47,9 @@ if "HTMAN_CONFIG" in os.environ:
|
||||||
CONFIG_FILE_LOCATIONS = [os.environ["HTMAN_CONFIG"]]
|
CONFIG_FILE_LOCATIONS = [os.environ["HTMAN_CONFIG"]]
|
||||||
|
|
||||||
@bobo.query('')
|
@bobo.query('')
|
||||||
|
def redirect_frontpage():
|
||||||
|
return bobo.redirect(web_defaults["base_url"] + '/')
|
||||||
|
|
||||||
@bobo.query('/')
|
@bobo.query('/')
|
||||||
def show_frontpage():
|
def show_frontpage():
|
||||||
values = web_defaults.copy()
|
values = web_defaults.copy()
|
||||||
|
|
Loading…
Reference in a new issue