"""The Magic App.""" 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")