Skip to content

Commit

Permalink
Merge pull request #436 from EstrellaXD/3.0-dev
Browse files Browse the repository at this point in the history
3.0.12
  • Loading branch information
EstrellaXD authored Aug 28, 2023
2 parents c1c4a62 + 58cd479 commit 1a742b0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/src/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os

import logging
import uvicorn

Expand All @@ -21,9 +23,10 @@
}

if __name__ == "__main__":
host = "::" if os.getenv("IPV6") else "0.0.0.0"
uvicorn.run(
router,
host="0.0.0.0",
host=host,
port=settings.program.webui_port,
log_config=uvicorn_logging_config,
)

0 comments on commit 1a742b0

Please sign in to comment.