14 lines
348 B
Python
14 lines
348 B
Python
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) |