Split waitess variables
This commit is contained in:
parent
4ba9f48e52
commit
93be82089d
2 changed files with 1 additions and 2 deletions
|
@ -19,4 +19,4 @@ COPY . .
|
|||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD [ "waitress-serve", "--port=8080", "--trusted-proxy='*'", "--trusted-proxy-headers=forwarded", "--log-untrusted-proxy-headers", "--threads=16", "--call", "api:create_app" ]
|
||||
CMD [ "waitress-serve", "--port=8080", "--trusted-proxy", "'*'", "--trusted-proxy-headers", "'forwarded'", "--log-untrusted-proxy-headers", "--threads", "16", "--call", "api:create_app" ]
|
|
@ -299,7 +299,6 @@ def video_watch_route(video_file_no_extension):
|
|||
abort(404)
|
||||
if not os.path.exists(thumb_path):
|
||||
thumb_file = ""
|
||||
remote_client = request.environ
|
||||
logger_content.warning('[' + client_address(request) + '] player' + str(video_path))
|
||||
return render_template('watch.html', video_file=video_file, thumb_file=thumb_file)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue