This repository has been archived on 2020-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
magic-app/magic_app/app.py
Luke Murphy ea2501fe05
All checks were successful
continuous-integration/drone/push Build is passing
Remove the "The"
2020-06-30 20:37:10 +02:00

18 lines
301 B
Python

from flask import Flask, render_template, send_from_directory
app = Flask(__name__)
@app.route("/")
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")