diff --git a/.web-extension-id b/.web-extension-id new file mode 100644 index 0000000..c0fd358 --- /dev/null +++ b/.web-extension-id @@ -0,0 +1,3 @@ +# This file was created by https://github.com/mozilla/web-ext +# Your auto-generated extension ID for addons.mozilla.org is: +{898e31e7-f847-4444-ab44-06c731027963} \ No newline at end of file diff --git a/manifest.json b/manifest.json index 8296929..871a039 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "Web Extension for Shaarli modified", "description": "Share your link to your Shaarli, test version", - "version": "2.0.1", + "version": "2.0.2", "homepage_url": "https://git.hmthsn.com/mantao/shaarli-web-extension", "manifest_version": 2, "icons": { diff --git a/src/lib/client.js b/src/lib/client.js index eadd92a..162df19 100644 --- a/src/lib/client.js +++ b/src/lib/client.js @@ -22,7 +22,7 @@ async function getLinks(api_token){ let token = generateToken(api_token) var result = await $.ajax( { - url: "https://sl.hmthsn.com/api/v1/links", + url: "https://sl.hmthsn.com/api/v1/links?limit=all", //url: "http://127.0.0.1:8081/", type: 'GET', headers:{"Authorization": 'Bearer ' + token}