from autoreply_editor import app from flask import render_template @app.route("/") def index(): with open(app.config.get("MESSAGE_FILE"), "r") as f: content = f.read() return render_template("index.html", content=content)