Make server storage the default.
Remove --server-storage argument.
This commit is contained in:
parent
d4edd9bfa8
commit
53c8a99e6c
|
@ -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)
|
||||
})
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue