From e5397e1fe080f05a886d7f796e7a4900df9fd17b Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Wed, 28 May 2025 11:48:59 +1000 Subject: [PATCH] fix: Speed up the dev server by only using the default host --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index b447155..551ca82 100644 --- a/main.py +++ b/main.py @@ -1645,8 +1645,9 @@ def page_not_found(e): #endregion if __name__ == '__main__': + #TODO add parsing to allow for custom port and host # Check to see if --debug is in the command line arguments if "--debug" in sys.argv: - app.run(debug=True,host='0.0.0.0') + app.run(debug=True) else: - app.run(host='0.0.0.0') + app.run()