From 5044702f31cc964748478281974063dff9af92b2 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 27 Jun 2022 00:15:37 +0200 Subject: [PATCH] uvicorn: add host --- app/asgi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/asgi.sh b/app/asgi.sh index 487e8883..f6409ce5 100755 --- a/app/asgi.sh +++ b/app/asgi.sh @@ -13,8 +13,8 @@ else # static files auto update # watchmedo shell-command --patterns="$patterns" --recursive \ # --command='python '$manage' collectstatic --noinput' $app & - # daphne -b 0.0.0.0 -p 8000 asgi:application - uvicorn asgi:application --log-level warning --workers 8 + #daphne -b 0.0.0.0 -p 8000 asgi:application + uvicorn asgi:application --host 0.0.0.0 --log-level info --workers 8 --ws websockets fi -- 2.39.5