|
@@ -22,7 +22,8 @@ with open(f"{FOLDER}secret_key", "rb") as secretKeyFile:
|
|
|
|
|
|
@app.route("/", methods=["GET"])
|
|
@app.route("/", methods=["GET"])
|
|
def index():
|
|
def index():
|
|
- return render_template("index.html")
|
|
|
|
|
|
+ welcome_cards = read_database("welcome")
|
|
|
|
+ return render_template("index.html", cards=welcome_cards)
|
|
|
|
|
|
|
|
|
|
@app.route("/karte", methods=["GET"])
|
|
@app.route("/karte", methods=["GET"])
|