diff options
| author | Fuwn <[email protected]> | 2020-11-07 13:57:52 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2020-11-07 13:57:52 -0800 |
| commit | 50cb9ab5e7ac75d44177fd82968b9efa6804da17 (patch) | |
| tree | 87b5245bf73a05bcde2a84368aae886b28d7f965 | |
| parent | feat: re-add tweet (diff) | |
| download | blog-50cb9ab5e7ac75d44177fd82968b9efa6804da17.tar.xz blog-50cb9ab5e7ac75d44177fd82968b9efa6804da17.zip | |
fix: make tweet this https
| -rw-r--r-- | make-tweet-url.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make-tweet-url.js b/make-tweet-url.js index b440dcf..4cb81c9 100644 --- a/make-tweet-url.js +++ b/make-tweet-url.js @@ -3,7 +3,7 @@ function makeTweetUrl(article) { const route = article.attributes.route; const baseUrl = "https://twitter.com/intent/tweet"; - const text = "“" + title + "” by @xFuwn – http://blog.fuwn.me" + route; + const text = "“" + title + "” by @xFuwn – https://blog.fuwn.me" + route; return baseUrl + "?text=" + encodeURIComponent(text); } |