From c85000c5b39037c041e52ec723da328175b973a2 Mon Sep 17 00:00:00 2001 From: Ryan Lewis Date: Thu, 4 Apr 2024 15:35:49 -0700 Subject: [PATCH] use localhost to prevent a CWE error --- app/src/api/debug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/api/debug.py b/app/src/api/debug.py index 6de72c7..f829de4 100644 --- a/app/src/api/debug.py +++ b/app/src/api/debug.py @@ -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(