Skip to content

Commit

Permalink
Use libstc.cc for web stc
Browse files Browse the repository at this point in the history
  • Loading branch information
aokellermann committed Feb 28, 2024
1 parent ddc1387 commit b7c68f1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
2 changes: 1 addition & 1 deletion manifests/chromium/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion manifests/firefox/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
1 change: 1 addition & 0 deletions updates/chromium.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='dlkgopgehblcicoegdnoehgifnimkafi'>
<updatecheck codebase='https://github.com/aokellermann/nexus-now/releases/download/v0.2.1/nexus-now_0.2.1_chromium.crx' version='0.2.1' />
<updatecheck codebase='https://github.com/aokellermann/nexus-now/releases/download/v0.2.2/nexus-now_0.2.2_chromium.crx' version='0.2.2' />
</app>
</gupdate>
4 changes: 4 additions & 0 deletions updates/firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
Expand Down

0 comments on commit b7c68f1

Please sign in to comment.