Point to new URL

This commit is contained in:
Luke Murphy 2020-07-01 20:56:58 +02:00
parent 61b5849678
commit 38cc463a1d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ def index():
return render_template("second/index.html", apps=[app for app in APPS])
@app.route("/<app_name>")
@app.route("/config/<app_name>")
def app_config(app_name):
if app_name == "gitea":
form = GiteaConfigForm()

View File

@ -9,7 +9,7 @@
<p>List of apps that can be installed:</p>
<ul>
{% for app in apps %}
<li><a href="/{{ app }}">{{ app }}</a></li>
<li><a href="/config/{{ app }}">{{ app }}</a></li>
</ul>
{% endfor %}
</body>