Remove secrets usage

This commit is contained in:
Justin Myers 2025-02-27 15:40:25 -08:00
parent 06820fbe03
commit c8d958daaf

View file

@ -619,8 +619,8 @@ class Server: # pylint: disable=too-many-instance-attributes
def _debug_warning_exposed_files(root_path: str): def _debug_warning_exposed_files(root_path: str):
"""Warns about exposing all files on the device.""" """Warns about exposing all files on the device."""
print( print(
f"WARNING: Setting root_path to '{root_path}' will expose all files on your device through" f"WARNING: Setting root_path to '{root_path}' will expose all files on your device "
" the webserver, including potentially sensitive files like settings.toml or secrets.py. " "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." "Consider making a sub-directory on your device and using that for your root_path instead."
) )