centos.org website repository
Fabian Arrotin
7 days ago 0c55aabf16433a10762f4bac546a0ba18fd98a71
Enforcing tls to avoid mixed content error in browser with hsts for rss feed

Signed-off-by: Fabian Arrotin <arrfab@centos.org>
1 files modified
4 ■■■ changed files
content/index.erb 4 ●●● patch | view | raw | blame | history
content/index.erb
@@ -6,7 +6,9 @@
<script> 
  jQuery(function($) {
    $("#rss-feeds").rss("https://www.centos.org/assets/planet.rss",{
        limit: 5,                                                                                   entryTemplate: '<li><a href="{url}">{date} : {title}</a><br/>{shortBodyPlain}</li>'    },
        limit: 5,
    ssl: true,
    entryTemplate: '<li><a href="{url}">{date} : {title}</a><br/>{shortBodyPlain}</li>'    },
 )
 })
 </script>