diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2023-10-07 15:20:28 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2023-10-07 15:20:28 -0600 |
commit | 7f086eb98ea7053d9939bdb8ae3f46cc5796e9c6 (patch) | |
tree | f127e238d12fe081e0a17f1804df521990d13300 /app.py | |
parent | 44545ae5ea46748e34fc14694f1e801d56581c87 (diff) |
add boilerplate
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +from flask import Flask, render_template + +app = Flask(__name__) + +@app.route("/") +def hello_world(): + return render_template("index.html") + +if __name__ == "__main__": + app.run( + host="0.0.0.0", + port=5123, + debug=True, + )
\ No newline at end of file |