sitemap: prefer https protocol for absolute site references
[sheet.git] / tools / mksitemap
index ce2ce873a59a33745d7fc3f6535a6282c2409a88..cbffc0beb45e3313321c00dac0a42c8e40f5c857 100755 (executable)
@@ -53,7 +53,7 @@ for my $group (@pages) {
                };
 
                print '<url>';
-               print "<loc>http://sheet.shiar.nl/$page</loc>";
+               print "<loc>https://sheet.shiar.nl/$page</loc>";
                printf '<changefreq>%s</changefreq>', $freq{$page} // 'monthly';
                printf '<priority>%.2f</priority>', $prio;
                printf '<lastmod>%s</lastmod>', localtime($stat->mtime)->date;