Skip to content

Remove secrets usage #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions adafruit_httpserver/server.py
Original file line number Diff line number Diff line change
@@ -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."
)