Skip to content

Commit b2a0422

Browse files
committedOct 26, 2018
Added Structure
1 parent c7fd7ff commit b2a0422

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed
 

‎app.py

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
from flask import flask
1+
from flask import Flask, render_template
22

3-
app = Flask(__name__)
4-
def run():
5-
3+
app = Flask(_name_)
4+
5+
@app.route('/', methods=["GET"])
6+
def homePage():
7+
return render_template('index.html')
8+
#Run
9+
app.run(host="0.0.0.0", port="8080", debug=True)

0 commit comments

Comments
 (0)
Please sign in to comment.