Skip to content

Commit

Permalink
Working HTML based structure
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickpriebe committed Jul 11, 2022
1 parent bdb5559 commit 4b3a673
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
14 changes: 5 additions & 9 deletions app.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
from flask import Flask
from flask import Flask, render_template, json, redirect, request

# Flask constructor
app = Flask(__name__)

# Homepage URL call
@app.route("/")
def home():
return redirect("/html/home")

@app.route("/html/home")
def Main():
return render_template("html/home.html")
return render_template("home.html")

# main driver function
if __name__ == '__main__':
app.run()
# Listener
if __name__ == "__main__":
app.run(port=2509, debug=True)
File renamed without changes.
3 changes: 3 additions & 0 deletions templates/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<html>
<h1>MLS Players Analysis</h1>
</html>
File renamed without changes.

0 comments on commit 4b3a673

Please sign in to comment.