Skip to content

Commit

Permalink
Checking if localhost is causing problems in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsaxe committed Dec 30, 2023
1 parent 30d2bd6 commit 8c78a85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions seamm_dashboard/results_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
from seamm_dashboard import create_app, options
from waitress import serve

production = False


def run():
app = create_app()
Expand All @@ -13,7 +11,7 @@ def run():
app.run(debug=True, use_reloader=True)
else:
# serve using waitress
if options["localhost"]:
if False or options["localhost"]:
serve(app, listen=f"localhost:{options['port']}", threads=12)
else:
serve(app, port=options["port"], threads=12)
Expand Down

0 comments on commit 8c78a85

Please sign in to comment.