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
0b6cf7a5
Commit
0b6cf7a5
authored
Aug 26, 2023
by
ramyma
Browse files
Increase client_max_size to allow bigger request bodies
parent
f72780a7
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 @
0b6cf7a5
...
...
@@ -79,7 +79,7 @@ class PromptServer():
if
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
.
web_root
=
os
.
path
.
join
(
os
.
path
.
dirname
(
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