Skip to content
Snippets Groups Projects
Commit 1caac47d authored by Jonas Leder's avatar Jonas Leder
Browse files

added comments

parent b6d88a02
Branches
Tags
No related merge requests found
...@@ -134,4 +134,4 @@ if __name__ == '__main__': ...@@ -134,4 +134,4 @@ if __name__ == '__main__':
if production: #Check if production variable is set to true use the waitress webserver, else use the buildin flask webserver, with more debug output if production: #Check if production variable is set to true use the waitress webserver, else use the buildin flask webserver, with more debug output
serve(app, host='0.0.0.0', port= 5000) #Start the Webserver for all users on port 5000 serve(app, host='0.0.0.0', port= 5000) #Start the Webserver for all users on port 5000
else: else:
app.run(host='0.0.0.0', port=5000, debug=True) app.run(host='0.0.0.0', port=5000, debug=True) #Start the Webserver in Debug mode. This means, if the script runs in an error, it will show the error message in Browser.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment