This website works better with JavaScript.
Home
Explore
Help
Sign In
TheoryOfNekomata
/
badge-lookup
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Update badge label
Fix badge label for package badges.
master
TheoryOfNekomata
4 years ago
parent
20ee206544
commit
5d1f26cef6
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
getBadgeUrl.js
+ 1
- 1
getBadgeUrl.js
View File
@@ -28,7 +28,7 @@ module.exports = async ({
badgeUrl.search = new URLSearchParams({
badgeUrl.search = new URLSearchParams({
color,
color,
query: `$.${kind}`,
query: `$.${kind}`,
label:
repo
,
label:
kind
,
style,
style,
labelColor,
labelColor,
url: new URL(path.join(repo, 'raw', 'branch', process.env.MAIN_BRANCH, 'package.json'), process.env.REPO_BASE_URL),
url: new URL(path.join(repo, 'raw', 'branch', process.env.MAIN_BRANCH, 'package.json'), process.env.REPO_BASE_URL),
Write
Preview
Loading…
Cancel
Save