commit/galaxy-central: dannon: Provide default for robots.txt being pulled from config.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/66a7957ed974/ changeset: 66a7957ed974 user: dannon date: 2011-12-13 17:04:07 summary: Provide default for robots.txt being pulled from config. affected #: 1 file diff -r ad9a6d8afded63469e07cd5ef89098c9c6195f22 -r 66a7957ed97403fb4e17c9c747c4624e1c1b2f3d lib/galaxy/web/buildapp.py --- a/lib/galaxy/web/buildapp.py +++ b/lib/galaxy/web/buildapp.py @@ -251,7 +251,7 @@ urlmap["/static/scripts"] = Static( conf.get( "static_scripts_dir" ), cache_time ) urlmap["/static/style"] = Static( conf.get( "static_style_dir" ), cache_time ) urlmap["/favicon.ico"] = Static( conf.get( "static_favicon_dir" ), cache_time ) - urlmap["/robots.txt"] = Static( conf.get( "static_robots_txt" ), cache_time ) + urlmap["/robots.txt"] = Static( conf.get( "static_robots_txt", 'static/robots.txt'), cache_time ) # URL mapper becomes the root webapp return urlmap Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket