-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bdb5559
commit 4b3a673
Showing
4 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.