diff --git a/app/user_manager.py b/app/user_manager.py index 75485ee4..209094af 100644 --- a/app/user_manager.py +++ b/app/user_manager.py @@ -94,7 +94,7 @@ class UserManager(): else: user_dir = self.get_request_user_filepath(request, None, create_dir=False) return web.json_response({ - "storage": "server" if args.server_storage else "browser", + "storage": "server", "migrated": os.path.exists(user_dir) }) diff --git a/comfy/cli_args.py b/comfy/cli_args.py index c02bbf2b..b4bbfbfa 100644 --- a/comfy/cli_args.py +++ b/comfy/cli_args.py @@ -112,8 +112,7 @@ parser.add_argument("--windows-standalone-build", action="store_true", help="Win parser.add_argument("--disable-metadata", action="store_true", help="Disable saving prompt metadata in files.") -parser.add_argument("--server-storage", action="store_true", help="Saves settings and other user configuration on the server instead of in browser storage.") -parser.add_argument("--multi-user", action="store_true", help="Enables per-user storage. If enabled, server-storage will be unconditionally enabled.") +parser.add_argument("--multi-user", action="store_true", help="Enables per-user storage.") if comfy.options.args_parsing: args = parser.parse_args() @@ -125,6 +124,3 @@ if args.windows_standalone_build: if args.disable_auto_launch: args.auto_launch = False - -if args.multi_user: - args.server_storage = True \ No newline at end of file