{"issue":{"created_at":"2011-11-20T14:53:27Z","state":"open","updated_at":"2011-11-22T19:22:35Z","user":{"gravatar_id":"0d95fe3795b73e39db2c0a4233e7f850","id":364382,"url":"https://api.github.com/users/antani","login":"antani","avatar_url":"https://secure.gravatar.com/avatar/0d95fe3795b73e39db2c0a4233e7f850?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"I have put the following config:\r\nSitemapGenerator::Sitemap.default_host = \"http://cheapr.me\"\r\n\r\nWhen I generate the site map, the \"loc\" is coming up as :\r\n<loc>http://cheapr.in/</loc>\r\nCheck  -http://cheapr.me/sitemap.xml\r\nI grep'd but there nowhere there is \"cheapr.in\" in any of the files in my project (I confess that I had originally planned to have my site - cheapr.in) - so unless there is some spooky mind-reading going on, how is the LOC changed to cheapr.in ?\r\n\r\nFrom where is this domain picked up (and why my default_host is ignored ?)","assignee":null,"id":2292680,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":51,"labels":[],"title":"Where is the value of default_host coming from","html_url":"https://github.com/kjvarga/sitemap_generator/issues/51","closed_at":null,"url":"https://api.github.com/repos/kjvarga/sitemap_generator/issues/51","milestone":null},"action":"created","comment":{"created_at":"2011-11-22T19:22:35Z","updated_at":"2011-11-22T19:22:35Z","user":{"gravatar_id":"875a7a43cc735b6d6a5c9928577012cd","id":95378,"url":"https://api.github.com/users/kjvarga","login":"kjvarga","avatar_url":"https://secure.gravatar.com/avatar/875a7a43cc735b6d6a5c9928577012cd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"The only way I can think of is if you are passing in full URLs to the add() method e.g.\r\n\r\n  add root_url\r\n\r\nWhen it should be: add root_path.","id":2839047,"url":"https://api.github.com/repos/kjvarga/sitemap_generator/issues/comments/2839047"}}