Valid path URLs + app URL without index.html

This commit is contained in:
relikd
2020-09-14 00:51:36 +02:00
parent 34fe1c1aae
commit c1f0b09399
3 changed files with 9 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ def gen_obj(bundle_id):
def gen_entry(obj):
return '''
<a href="/app/{id}/index.html">
<a href="/app/{id}/">
<div>
<img src="{img}" width="100" height="100">
<span class="name">{name}</span><br />
@@ -30,7 +30,7 @@ def gen_pager(current, total):
def mklink(i, name, active=False):
clss = ' class="active"' if active else ''
return '<a href="../{}"{}>{}</a>'.format(i, clss, name)
return '<a href="../{}/"{}>{}</a>'.format(i, clss, name)
links = ''
# if current > 1: