mirror of
https://github.com/avipatilpro/FileStreamBot.git
synced 2026-01-15 14:22:53 -03:00
13 lines
433 B
Python
13 lines
433 B
Python
|
|
# Taken from megadlbot_oss <https://github.com/eyaadh/megadlbot_oss/blob/master/mega/webserver/__init__.py>
|
||
|
|
# Thanks to Eyaadh <https://github.com/eyaadh>
|
||
|
|
# This file is a part of TG-FileStreamBot
|
||
|
|
# Coding : Jyothis Jayanth [@EverythingSuckz]
|
||
|
|
|
||
|
|
from aiohttp import web
|
||
|
|
from .stream_routes import routes
|
||
|
|
|
||
|
|
|
||
|
|
async def web_server():
|
||
|
|
web_app = web.Application(client_max_size=30000000)
|
||
|
|
web_app.add_routes(routes)
|
||
|
|
return web_app
|