Browse Source

Increase client_max_size to allow bigger request bodies

pull/1343/head
ramyma 1 year ago
parent
commit
0b6cf7a558
  1. 2
      server.py

2
server.py

@ -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=20971520, middlewares=middlewares)
self.app = web.Application(client_max_size=104857600, middlewares=middlewares)
self.sockets = dict()
self.web_root = os.path.join(os.path.dirname(
os.path.realpath(__file__)), "web")

Loading…
Cancel
Save