Skip to content

Commit

Permalink
Merge pull request #275 from johnnadratowski/fix-wsgi-req-err
Browse files Browse the repository at this point in the history
Fix issue with WSGI container error
  • Loading branch information
lepture authored Jun 23, 2024
2 parents 16b915d + c5c7151 commit d5ab21f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion livereload/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def start_response(status, response_headers, exc_info=None):
return response.append

app_response = self.wsgi_app(
WSGIContainer.environ(request), start_response)
WSGIContainer(self.wsgi_app).environ(request), start_response)
try:
response.extend(app_response)
body = b"".join(response)
Expand Down

0 comments on commit d5ab21f

Please sign in to comment.