We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 06820fb + c8d958d commit 09e5431Copy full SHA for 09e5431
adafruit_httpserver/server.py
@@ -619,8 +619,8 @@ def __repr__(self) -> str:
619
def _debug_warning_exposed_files(root_path: str):
620
"""Warns about exposing all files on the device."""
621
print(
622
- f"WARNING: Setting root_path to '{root_path}' will expose all files on your device through"
623
- " 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. "
624
"Consider making a sub-directory on your device and using that for your root_path instead."
625
)
626
0 commit comments