From 352dbbd2b60c0bed75e5534b660f117414e28553 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Sat, 3 Aug 2024 00:21:55 +1200 Subject: [PATCH] increase upload limit for files to internal server --- meshchat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshchat.py b/meshchat.py index ff29667..37259db 100644 --- a/meshchat.py +++ b/meshchat.py @@ -1093,7 +1093,7 @@ class ReticulumMeshChat: print("failed to launch web browser") # create and run web app - app = web.Application(client_max_size=1024 * 1024 * 10) # allow uploading files up to 10mb + app = web.Application(client_max_size=1024 * 1024 * 50) # allow uploading files up to 50mb app.add_routes(routes) app.add_routes([web.static('/', get_file_path("public/"))]) # serve anything in public folder app.on_shutdown.append(self.shutdown) # need to force close websockets and stop reticulum now