From f9db0dba0be5bebb13b54e478459f2eb3d149c68c4924de83fd057100a3223b8 Mon Sep 17 00:00:00 2001 From: n Date: Tue, 4 Feb 2025 00:22:03 -0600 Subject: [PATCH] we are cooking now --- src/toastbin/app.py | 7 +++++++ src/toastbin/routes/index.j2 | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/toastbin/app.py diff --git a/src/toastbin/app.py b/src/toastbin/app.py new file mode 100644 index 0000000..3b2ad1a --- /dev/null +++ b/src/toastbin/app.py @@ -0,0 +1,7 @@ +from flask import Flask, render_template + +app = Flask(__name__) + +@app.route("/") +def index: + return render_template diff --git a/src/toastbin/routes/index.j2 b/src/toastbin/routes/index.j2 index 0bea75b..9c5aac9 100644 --- a/src/toastbin/routes/index.j2 +++ b/src/toastbin/routes/index.j2 @@ -1,7 +1,7 @@ -toastbin +toastbin - {{ instance }}