Skip to content

Commit

Permalink
Replace Bitly with TinyURL
Browse files Browse the repository at this point in the history
Allows short url without having to make an account (bitly requires an account now)
  • Loading branch information
TheKodester committed Dec 13, 2019
1 parent 1d0447d commit 7478539
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/plugins/share/share.js
Expand Up @@ -53,10 +53,6 @@ var componentName = "wb-share",

// The definitions of the available bookmarking sites, in URL use
// '{u}' for the page URL, '{t}' for the page title, {i} for the image, and '{d}' for the description
bitly: {
name: "bitly",
url: "https://bitly.com/a/bitmarklet?u={u}"
},
blogger: {
name: "Blogger",
url: "https://www.blogger.com/blog_this.pyra?t=&u={u}&n={t}"
Expand Down Expand Up @@ -89,6 +85,10 @@ var componentName = "wb-share",
name: "reddit",
url: "https://reddit.com/submit?url={u}&title={t}"
},
tinyurl: {
name: "TinyURL",
url: "https://tinyurl.com/create.php?url={u}"
},
tumblr: {
name: "tumblr",
url: "https://www.tumblr.com/share/link?url={u}&name={t}&description={d}"
Expand Down
Binary file added src/plugins/share/sprites/tinyurl.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7478539

Please sign in to comment.