Point to new URL
This commit is contained in:
parent
61b5849678
commit
38cc463a1d
@ -48,7 +48,7 @@ def index():
|
|||||||
return render_template("second/index.html", apps=[app for app in APPS])
|
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):
|
def app_config(app_name):
|
||||||
if app_name == "gitea":
|
if app_name == "gitea":
|
||||||
form = GiteaConfigForm()
|
form = GiteaConfigForm()
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<p>List of apps that can be installed:</p>
|
<p>List of apps that can be installed:</p>
|
||||||
<ul>
|
<ul>
|
||||||
{% for app in apps %}
|
{% for app in apps %}
|
||||||
<li><a href="/{{ app }}">{{ app }}</a></li>
|
<li><a href="/config/{{ app }}">{{ app }}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</body>
|
</body>
|
||||||
|
Reference in New Issue
Block a user