diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-09 08:35:22 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-09 08:35:22 +0000 |
commit | baefe9643c06efe7cb555802a32787fb4076ee79 (patch) | |
tree | fa5351b02eeb0158117b800c73496c62e99b2cb2 | |
parent | 09e8cbf0c90f04e07d4c56a1349b325f894f6008 (diff) |
Tue, Jul 9, 2024, 1:35 AM -07:00
-rw-r--r-- | wk9/lect/app.py | 7 | ||||
-rw-r--r-- | wk9/lect/templates/index.html (renamed from wk9/lect/index.html) | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/wk9/lect/app.py b/wk9/lect/app.py new file mode 100644 index 0000000..bb88884 --- /dev/null +++ b/wk9/lect/app.py @@ -0,0 +1,7 @@ +from flask import Flask, render_template, request + +app = Flask(__name__) + +@app.route("/") +def index(): + return "hello, world" diff --git a/wk9/lect/index.html b/wk9/lect/templates/index.html index 1bfdc87..28aaf9f 100644 --- a/wk9/lect/index.html +++ b/wk9/lect/templates/index.html @@ -5,4 +5,7 @@ <meta name="viewport" content="initial-scale=1, width=device-width"> <title>hello</title> </head> + <body> + Hello, World + </body> </html> |