mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 19:13:51 +00:00
update site becuz im 17!
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user