initial commit
This commit is contained in:
9
autoreply_editor/main.py
Normal file
9
autoreply_editor/main.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user