Skip to content

Commit

Permalink
fix: web bind to should be 0.0.0.0 instead of localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosschroh committed Nov 11, 2020
1 parent aef1858 commit ea9a322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faust/types/_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ def _getenv(name: str, *default: Any, prefices: Sequence[str] = PREFICES) -> Any
STRICT: bool = bool(_getenv("STRICT", False))

WEB_PORT: int = int(_getenv("WEB_PORT", "6066"))
WEB_BIND: str = _getenv("F_WEB_BIND", "127.0.0.1")
WEB_BIND: str = _getenv("F_WEB_BIND", "0.0.0.0") # nosec
WEB_TRANSPORT: URL = URL(_getenv("WEB_TRANSPORT", "tcp://"))

0 comments on commit ea9a322

Please sign in to comment.