From c8d958daafece357460efda2421f821e32d09ce9 Mon Sep 17 00:00:00 2001 From: Justin Myers Date: Thu, 27 Feb 2025 15:40:25 -0800 Subject: [PATCH] Remove secrets usage --- adafruit_httpserver/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adafruit_httpserver/server.py b/adafruit_httpserver/server.py index eba455f..8acebc3 100644 --- a/adafruit_httpserver/server.py +++ b/adafruit_httpserver/server.py @@ -619,8 +619,8 @@ def __repr__(self) -> str: def _debug_warning_exposed_files(root_path: str): """Warns about exposing all files on the device.""" print( - f"WARNING: Setting root_path to '{root_path}' will expose all files on your device through" - " the webserver, including potentially sensitive files like settings.toml or secrets.py. " + f"WARNING: Setting root_path to '{root_path}' will expose all files on your device " + "through the webserver, including potentially sensitive files like settings.toml. " "Consider making a sub-directory on your device and using that for your root_path instead." )