Skip to content

Commit

Permalink
use localhost to prevent a CWE error
Browse files Browse the repository at this point in the history
  • Loading branch information
rylew1 committed Apr 4, 2024
1 parent a381b91 commit c85000c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/api/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class DebugAdapterProtocolConfig(PydanticBaseEnvConfig):
default=False,
description="Enable debug mode. Overwritten to True when running a debug make target",
)
host: str = Field(default="0.0.0.0", description="The host for the debugger to listen on")
host: str = Field(default="localhost", description="The host for the debugger to listen on")
port: int = Field(default=5678, description="The port for the debugger to listen on")

wait_for_client: bool = Field(
Expand Down

0 comments on commit c85000c

Please sign in to comment.