Skip to content

Commit

Permalink
[website] pass response body as kwarg (#10176)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-goldstein authored Mar 11, 2021
1 parent e47e71b commit 42847e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/website/website.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async def get_healthcheck(request): # pylint: disable=unused-argument

@routes.get('/robots.txt')
async def get_robots(request): # pylint: disable=unused-argument
return web.Response('user-agent: *\nAllow: /')
return web.Response(text='user-agent: *\nAllow: /')


routes.static('/static', f'{MODULE_PATH}/static')
Expand Down

0 comments on commit 42847e4

Please sign in to comment.