serve video with video/webm
This commit is contained in:
parent
2d25d7c3c8
commit
5de2461eb6
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ class Server(Resource):
|
|||
if path:
|
||||
print itemId, filename, 'use', path
|
||||
request.headers['Access-Control-Allow-Origin'] = '*'
|
||||
f = File(path)
|
||||
f = File(path, 'video/webm')
|
||||
f.isLeaf = True
|
||||
return f
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue