Add /apps setup and spec out more targets

This commit is contained in:
Luke Murphy
2020-06-30 20:35:01 +02:00
parent 5852a3649f
commit ad1d46cc2c
4 changed files with 19 additions and 8 deletions

View File

@ -1,6 +1,6 @@
"""The Magic App."""
from flask import Flask, render_template
from flask import Flask, render_template, send_from_directory
app = Flask(__name__)
@ -10,5 +10,10 @@ def home():
return render_template("index.html")
@app.route("/apps")
def apps():
return send_from_directory("static", "apps.json")
if __name__ == "__main__":
app.run(host="0.0.0.0")

View File

@ -0,0 +1,3 @@
{
"gitea": "https://git.autonomic.zone/compose-stacks/gitea"
}