tgfs / WebStreamer /server /__init__.py
S VIVEGANANDAN
Push latest changes from FileStreamBot-1
b0bc1a0
raw
history blame contribute delete
382 Bytes
# 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
from aiohttp import web
from .stream_routes import routes
def web_server():
web_app = web.Application(client_max_size=30000000)
web_app.add_routes(routes)
return web_app