Unified · Split
| @@ -435,13 +435,13 @@ class App < Sinatra::Application · 434 unmodified lines | ||
| 435 | 435 | |
| 436 | 436 | maker.channel.links.new_link do |link| |
| 437 | 437 | link.rel = 'self' |
| 438 | − link.href = 'http://devdocs.io/feed.atom' | |
| 438 | + link.href = 'https://devdocs.io/feed.atom' | |
| 439 | 439 | link.type = 'application/atom+xml' |
| 440 | 440 | end |
| 441 | 441 | |
| 442 | 442 | maker.channel.links.new_link do |link| |
| 443 | 443 | link.rel = 'alternate' |
| 444 | − link.href = 'http://devdocs.io/' | |
| 444 | + link.href = 'https://devdocs.io/' | |
| 445 | 445 | link.type = 'text/html' |
| 446 | 446 | end |
| 447 | 447 | |
| @@ -450,14 +450,14 @@ class App < Sinatra::Application · 2 unmodified lines | ||
| 450 | 450 | item.id = "tag:devdocs.io,2014:News/#{settings.news.length - i}" |
| 451 | 451 | item.title = news[1].split("\n").first.gsub(/<\/?[^>]*>/, '') |
| 452 | 452 | item.description do |desc| |
| 453 | − desc.content = news[1..-1].join.gsub("\n", '<br>').gsub('href="/', 'href="http://devdocs.io/') | |
| 453 | + desc.content = news[1..-1].join.gsub("\n", '<br>').gsub('href="/', 'href="https://devdocs.io/') | |
| 454 | 454 | desc.type = 'html' |
| 455 | 455 | end |
| 456 | 456 | item.updated = "#{news.first}T14:00:00Z" |
| 457 | 457 | item.published = "#{news.first}T14:00:00Z" |
| 458 | 458 | item.links.new_link do |link| |
| 459 | 459 | link.rel = 'alternate' |
| 460 | − link.href = 'http://devdocs.io/' | |
| 460 | + link.href = 'https://devdocs.io/' | |
| 461 | 461 | link.type = 'text/html' |
| 462 | 462 | end |
| 463 | 463 | end |