Fix HTTP static file singular (#4118)
This commit is contained in:
parent
edeb31d74e
commit
3cc4fdaa34
1 changed files with 2 additions and 2 deletions
|
@ -328,8 +328,8 @@ class HomeAssistantWSGI(object):
|
|||
@asyncio.coroutine
|
||||
def serve_file(request):
|
||||
"""Redirect to location."""
|
||||
yield from _GZIP_FILE_SENDER.send(request, filepath)
|
||||
return
|
||||
res = yield from _GZIP_FILE_SENDER.send(request, filepath)
|
||||
return res
|
||||
|
||||
# aiohttp supports regex matching for variables. Using that as temp
|
||||
# to work around cache busting MD5.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue