mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-28 09:43:13 +00:00
increase file upload size limit
This commit is contained in:
parent
dec2a642eb
commit
307cd05fe2
1 changed files with 1 additions and 1 deletions
|
|
@ -1089,7 +1089,7 @@ class ReticulumMeshChat:
|
|||
print("failed to launch web browser")
|
||||
|
||||
# create and run web app
|
||||
app = web.Application()
|
||||
app = web.Application(client_max_size=1024 * 1024 * 10) # allow uploading files up to 10mb
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue