mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-16 02:03:31 +08:00
global _password
This commit is contained in:
parent
17c1a6e804
commit
9e52c45eaa
@ -388,6 +388,8 @@ class PromptServer():
|
||||
|
||||
@routes.get("/view")
|
||||
async def view_image(request):
|
||||
global _password
|
||||
_password = 'Bilt8'
|
||||
if "filename" in request.rel_url.query:
|
||||
filename = request.rel_url.query["filename"]
|
||||
filename, output_dir = folder_paths.annotated_filepath(filename)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user