Skip to content

Commit

Permalink
adds robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
scott2b committed Jun 20, 2017
1 parent ee146dc commit aa748a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api.py
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,8 @@ def qunit():

@app.route('/robots.txt')
def robots_txt():
return send_file('templates/robots.txt')
if 'storymap.knilab.com' in os.environ.get('APPLICATION_DOMAINS'):
return send_file('templates/robots.txt')

@app.route('/build/embed/')
def catch_build_embed():
Expand Down

0 comments on commit aa748a2

Please sign in to comment.