aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2020-11-07 13:57:52 -0800
committerFuwn <[email protected]>2020-11-07 13:57:52 -0800
commit50cb9ab5e7ac75d44177fd82968b9efa6804da17 (patch)
tree87b5245bf73a05bcde2a84368aae886b28d7f965
parentfeat: re-add tweet (diff)
downloadblog-50cb9ab5e7ac75d44177fd82968b9efa6804da17.tar.xz
blog-50cb9ab5e7ac75d44177fd82968b9efa6804da17.zip
fix: make tweet this https
-rw-r--r--make-tweet-url.js2
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);
}