18 lines
294 B
Python
18 lines
294 B
Python
from flask import Flask, render_template
|
|
|
|
app = Flask(
|
|
__name__,
|
|
template_folder="templates",
|
|
static_folder="resources",
|
|
static_url_path="/resources",
|
|
)
|
|
|
|
|
|
@app.route("/")
|
|
def index():
|
|
return render_template("index.html")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app.run(debug=True)
|