Commit
·
39310fa
1
Parent(s):
e7e7a2e
Code Updates & Optimisations :Server Upgrade Test
Browse files
FileStream/server/APP/routes_app.py
CHANGED
@@ -2,9 +2,8 @@ from aiohttp import web
|
|
2 |
from aiohttp.http_exceptions import BadStatusLine
|
3 |
|
4 |
from ..Functions.downloader import media_streamer
|
|
|
5 |
from FileStream.Exceptions import FIleNotFound, InvalidHash
|
6 |
-
from FileStream.server.render_template import render_page, render_upload
|
7 |
-
|
8 |
|
9 |
#@sub_app.get("/watch/{path}", allow_head=True)
|
10 |
async def stream_handler(request: web.Request):
|
|
|
2 |
from aiohttp.http_exceptions import BadStatusLine
|
3 |
|
4 |
from ..Functions.downloader import media_streamer
|
5 |
+
from .render_template import render_page, render_upload
|
6 |
from FileStream.Exceptions import FIleNotFound, InvalidHash
|
|
|
|
|
7 |
|
8 |
#@sub_app.get("/watch/{path}", allow_head=True)
|
9 |
async def stream_handler(request: web.Request):
|