diff options
| author | Paul Buetow <git@mx.buetow.org> | 2021-05-01 12:30:48 +0100 |
|---|---|---|
| committer | Paul Buetow <git@mx.buetow.org> | 2021-05-21 05:11:04 +0100 |
| commit | 74b0f6ebca8d52749744c25f9e99e07d29871f6a (patch) | |
| tree | 24f17742852c93ce5593468c4b720deb2404f8c7 /buetow.org.sh | |
| parent | 2a1b307384e73c2e56195bae787e0eaaac07564b (diff) | |
Use HTTPS instead of HTTP
Diffstat (limited to 'buetow.org.sh')
| -rwxr-xr-x | buetow.org.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buetow.org.sh b/buetow.org.sh index 035f61ce..a08069ba 100755 --- a/buetow.org.sh +++ b/buetow.org.sh @@ -258,7 +258,7 @@ html::generate () { done # Add atom feed for HTML - sed 's|.gmi|.html|g; s|gemini://|http://|g' \ + sed 's|.gmi|.html|g; s|gemini://|https://|g' \ < $CONTENT_DIR/gemtext/gemfeed/atom.xml \ > $CONTENT_DIR/html/gemfeed/atom.xml git add $CONTENT_DIR/html/gemfeed/atom.xml @@ -290,9 +290,9 @@ html::test () { line="> This is a quote" assert::equals "$(html::quote "$line")" "<pre>This is a quote</pre>" - line="=> http://example.org" + line="=> https://example.org" assert::equals "$(html::link "$line")" \ - "<a class=\"textlink\" href=\"http://example.org\">http://example.org</a><br />" + "<a class=\"textlink\" href=\"https://example.org\">https://example.org</a><br />" line="=> index.gmi" assert::equals "$(html::link "$line")" \ |
