mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
Blocked remote access to auth.json
This commit is contained in:
@@ -378,5 +378,6 @@ shared.gradio_root.launch(
|
||||
server_name=args_manager.args.listen,
|
||||
server_port=args_manager.args.port,
|
||||
share=args_manager.args.share,
|
||||
auth=check_auth if args_manager.args.share and auth_enabled else None
|
||||
auth=check_auth if args_manager.args.share and auth_enabled else None,
|
||||
blocked_paths=[constants.AUTH_FILENAME]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user