mirror of
https://github.com/maubot/maubot
synced 2025-09-05 03:40:39 +00:00
Fix uploading and downloading avatars
This commit is contained in:
parent
4f723b24da
commit
4f7eef6029
4 changed files with 5 additions and 12 deletions
|
@ -38,7 +38,7 @@ class MaubotServer:
|
|||
|
||||
def __init__(self, config: Config, loop: asyncio.AbstractEventLoop) -> None:
|
||||
self.loop = loop or asyncio.get_event_loop()
|
||||
self.app = web.Application(loop=self.loop)
|
||||
self.app = web.Application(loop=self.loop, client_max_size=100*1024*1024)
|
||||
self.config = config
|
||||
|
||||
as_path = PathBuilder(config["server.appservice_base_path"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue