Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SudKul authored May 2, 2022
1 parent 69aef3b commit 0843d22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure-vote/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def index():
return render_template("index.html", value1=int(vote1), value2=int(vote2), button1=button1, button2=button2, title=title)

if __name__ == "__main__":
# comment line below when deploying to VMSS
app.run() # local
# uncomment the line below before deployment to VMSS
# TODO: Use the statement below when running locally
app.run()
# TODO: Use the statement below before deployment to VMSS
# app.run(host='0.0.0.0', threaded=True, debug=True) # remote

0 comments on commit 0843d22

Please sign in to comment.