reverted change to regex for player segments
This commit is contained in:
parent
df86cc0001
commit
1b9a4e528b
1 changed files with 1 additions and 1 deletions
|
|
@ -448,7 +448,7 @@ class HttpAPI(common):
|
|||
'Access-Control-Max-Age': "300",
|
||||
})
|
||||
|
||||
@route('GET', 'player/segments/{segment:d+}/{file:.*}.ts')
|
||||
@route('GET', r'player/segments/{segment:\d+}/{file:.*}.ts')
|
||||
async def segments(self, request: Request) -> Response:
|
||||
file: str = request.match_info.get('file')
|
||||
segment: int = request.match_info.get('segment')
|
||||
|
|
|
|||
Loading…
Reference in a new issue