From b7c68f1cbc11581edbecc8a2ee08357ee049aa5a Mon Sep 17 00:00:00 2001 From: Antony Kellermann Date: Tue, 27 Feb 2024 20:14:04 -0500 Subject: [PATCH] Use libstc.cc for web stc --- background.js | 2 +- manifests/chromium/manifest.json | 2 +- manifests/firefox/manifest.json | 2 +- updates/chromium.xml | 1 + updates/firefox.json | 4 ++++ 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/background.js b/background.js index 6ce9cc8..5b83db2 100644 --- a/background.js +++ b/background.js @@ -1,5 +1,5 @@ const doiRegex = /\b(10[.][0-9]{4,}(?:[.][0-9]+)*\/(?:(?!["&'<>])\S)+)\b/; -const stcUrl = "https://standard--template--construct-org.ipns.dweb.link/#/nexus_science/doi:"; +const stcUrl = "https://libstc.cc/#/nexus_science/id.dois:" const trueRed = "#BC243C"; INTERNET_IPFS_GATEWAY_URL = new URL('https://dweb.link') diff --git a/manifests/chromium/manifest.json b/manifests/chromium/manifest.json index 2be8b42..a66e469 100644 --- a/manifests/chromium/manifest.json +++ b/manifests/chromium/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Nexus Now!", "short_name": "nexus-now", - "version": "0.2.1", + "version": "0.2.2", "author": "Antony Kellermann", "homepage_url": "https://github.com/aokellermann/nexus-now", "description": "Access scientific literature using nexus.", diff --git a/manifests/firefox/manifest.json b/manifests/firefox/manifest.json index 8e21c46..8f5d0fd 100644 --- a/manifests/firefox/manifest.json +++ b/manifests/firefox/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Nexus Now!", "short_name": "nexus-now", - "version": "0.2.1", + "version": "0.2.2", "author": "Antony Kellermann", "homepage_url": "https://github.com/aokellermann/nexus-now", "description": "Access scientific literature using nexus.", diff --git a/updates/chromium.xml b/updates/chromium.xml index 5a9bbf5..0b62848 100644 --- a/updates/chromium.xml +++ b/updates/chromium.xml @@ -2,5 +2,6 @@ + diff --git a/updates/firefox.json b/updates/firefox.json index 4c51071..ff3f047 100644 --- a/updates/firefox.json +++ b/updates/firefox.json @@ -5,6 +5,10 @@ { "version": "0.2.1", "update_link": "https://github.com/aokellermann/nexus-now/releases/download/v0.2.1/nexus-now_0.2.1_firefox.xpi" + }, + { + "version": "0.2.2", + "update_link": "https://github.com/aokellermann/nexus-now/releases/download/v0.2.2/nexus-now_0.2.2_firefox.xpi" } ] }