use recpath vod for videos
This commit is contained in:
parent
3eaba322b2
commit
a222576cad
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ def database_route():
|
||||||
|
|
||||||
@app.route("/video/<file_name>", methods=['GET'])
|
@app.route("/video/<file_name>", methods=['GET'])
|
||||||
def video_route(file_name):
|
def video_route(file_name):
|
||||||
return send_file(f"./{rec_path}/video/{file_name}",mimetype='video/mp4')
|
return send_file(f"./{rec_path}/vod/{file_name}",mimetype='video/mp4')
|
||||||
|
|
||||||
@app.route("/thumb/<file_name>", methods=['GET'])
|
@app.route("/thumb/<file_name>", methods=['GET'])
|
||||||
def thumb_route(file_name):
|
def thumb_route(file_name):
|
||||||
|
|
Loading…
Reference in a new issue