Remove secrets usage
This commit is contained in:
parent
06820fbe03
commit
c8d958daaf
1 changed files with 2 additions and 2 deletions
|
|
@ -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."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue