From 7453d5059874065326d8ae97968ae35930e353f1 Mon Sep 17 00:00:00 2001 From: W1CDN Date: Sat, 15 Apr 2023 16:37:31 -0500 Subject: [PATCH] Update waitress IP to make it work on production. --- api_waitress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api_waitress.py b/api_waitress.py index 015c602..126faf7 100644 --- a/api_waitress.py +++ b/api_waitress.py @@ -9,4 +9,4 @@ os.chdir(this_files_dir) # `url_prefix` is optional, but useful if you are serving app on a sub-dir # behind a reverse-proxy. -serve(api_app, host='127.0.0.1', port=5001) +serve(api_app, host='0.0.0.0', port=5001)