diff options
| author | stilbruch <stilbruch@protonail.com> | 2022-03-21 18:09:50 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonail.com> | 2022-03-21 18:10:43 -0500 |
| commit | 681349db67bb828ab926b53734b44c50249d5f65 (patch) | |
| tree | ba164fba3f86eca2576850b4aa3a882e9f2d2c7b /app/routes.py | |
| parent | e035041e1a02332694bfa692f62217e58d9fada6 (diff) | |
| download | Strengthy-681349db67bb828ab926b53734b44c50249d5f65.tar.xz Strengthy-681349db67bb828ab926b53734b44c50249d5f65.zip | |
Setup basic database connections
Diffstat (limited to 'app/routes.py')
| -rw-r--r-- | app/routes.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/routes.py b/app/routes.py new file mode 100644 index 0000000..c162b8d --- /dev/null +++ b/app/routes.py @@ -0,0 +1,8 @@ +from app import app +from database import database_get +from flask import render_template + +@app.route("/", methods=["GET"]) +def index(): + db = database_get() + return render_template('base/index.html') |
