Skip to content

Commit

Permalink
render robot txt as txt type
Browse files Browse the repository at this point in the history
  • Loading branch information
thepsalmist committed Jan 8, 2025
1 parent 6de3779 commit 90d6567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/openafrica/blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def render_path():

def robots_txt():
'''display robots.txt'''
resp = make_response(render('home/robots.txt'))
resp = make_response(render('robots.txt'))
resp.headers['Content-Type'] = "text/plain; charset=utf-8"
return resp

Expand Down

0 comments on commit 90d6567

Please sign in to comment.