Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
412596d3
Commit
412596d3
authored
Aug 27, 2023
by
comfyanonymous
Browse files
Merge branch 'increase_client_max_size' of
https://github.com/ramyma/ComfyUI
parents
d9f49229
0b6cf7a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server.py
server.py
+1
-1
No files found.
server.py
View file @
412596d3
...
@@ -79,7 +79,7 @@ class PromptServer():
...
@@ -79,7 +79,7 @@ class PromptServer():
if
args
.
enable_cors_header
:
if
args
.
enable_cors_header
:
middlewares
.
append
(
create_cors_middleware
(
args
.
enable_cors_header
))
middlewares
.
append
(
create_cors_middleware
(
args
.
enable_cors_header
))
self
.
app
=
web
.
Application
(
client_max_size
=
2097152
0
,
middlewares
=
middlewares
)
self
.
app
=
web
.
Application
(
client_max_size
=
10485760
0
,
middlewares
=
middlewares
)
self
.
sockets
=
dict
()
self
.
sockets
=
dict
()
self
.
web_root
=
os
.
path
.
join
(
os
.
path
.
dirname
(
self
.
web_root
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
)),
"web"
)
os
.
path
.
realpath
(
__file__
)),
"web"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment