Cursory work on the home page
This commit is contained in:
1 parent
88338b0d2f
commit
223a105be4
3 files changed
+60
No files matched your search
@@ -0,0 +1,14 @@
|
||||
from flask import Flask
|
||||
from jinja2 import Template
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route("/")
|
||||
def root_route():
|
||||
with open("./pages/home/resources/home.html", "r") as html_file:
|
||||
template = Template(html_file.read())
|
||||
|
||||
return template.render({}), 200
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True, host="0.0.0.0", port=2025)
|
||||
Reference in new issue
Block a user