additional fixes to socket binding

This commit is contained in:
Domingo Dirutigliano
2025-10-01 15:37:20 +02:00
parent 88f4f54b55
commit f554ac558a
3 changed files with 28 additions and 7 deletions

View File

@@ -227,7 +227,7 @@ if __name__ == '__main__':
uvicorn.run(
"app:app",
# None allows to bind also on ipv6, and is selected if FIREGEX_HOST is any
host=None if FIREGEX_HOST == "any" else FIREGEX_HOST,
host="" if FIREGEX_HOST == "any" else FIREGEX_HOST,
port=FIREGEX_PORT,
uds=FIREGEX_SOCKET,
reload=DEBUG and not NORELOAD,