Skip to content

Commit

Permalink
修复linux视频路径问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwc18 authored Oct 31, 2023
1 parent 18de8b3 commit 80f4329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def video_server():
if vid not in mygo_data.keys():
return
rank = mygo_data[vid]['rank']
return send_file('video\\' + str(rank) + '.mp4')
return send_file('video/' + str(rank) + '.mp4')


# @app.route("/api/danmu", methods=['GET'])
Expand Down

0 comments on commit 80f4329

Please sign in to comment.