update site becuz im 17!

This commit is contained in:
timothypidashev
2021-08-05 10:44:06 +00:00
parent ca3601625e
commit c23d0f757c
25 changed files with 17 additions and 18 deletions

View File

@@ -1,10 +1,8 @@
from flask import Flask
app = Flask(__name__)
from flask import Flask, render_template, request
app = Flask(__name__, template_folder = "templates", static_url_path="/static")
#home page
@app.route("/")
def home():
return app.send_static_file("index.html")
def index():
return render_template("index.html")