kopia lustrzana https://github.com/badgen/badgen.net
feat: migrate /https
rodzic
e4907e86c4
commit
a46cedb447
|
@ -56,7 +56,6 @@ export const liveBadgeList = [
|
|||
'tidelift',
|
||||
'jenkins',
|
||||
'liberapay',
|
||||
'https',
|
||||
]
|
||||
|
||||
export async function loadBadgeMeta () {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import staticBadge from '../pages/api/static'
|
||||
import github from '../pages/api/github'
|
||||
import gitlab from '../pages/api/gitlab'
|
||||
import https from '../pages/api/https'
|
||||
import amo from '../pages/api/amo'
|
||||
import npm from '../pages/api/npm'
|
||||
import crates from '../pages/api/crates'
|
||||
|
@ -24,6 +25,7 @@ export default {
|
|||
static: staticBadge.meta,
|
||||
github: github.meta,
|
||||
gitlab: gitlab.meta,
|
||||
https: https.meta,
|
||||
amo: amo.meta,
|
||||
npm: npm.meta,
|
||||
crates: crates.meta,
|
||||
|
|
|
@ -44,6 +44,7 @@ const nextConfig = {
|
|||
'/static',
|
||||
'/github',
|
||||
'/gitlab',
|
||||
'/https',
|
||||
// registry
|
||||
'/amo',
|
||||
'/npm',
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import got from '../libs/got'
|
||||
import { createBadgenHandler, PathArgs } from '../libs/create-badgen-handler'
|
||||
import got from '../../libs/got'
|
||||
import { createBadgenHandler, PathArgs } from '../../libs/create-badgen-handler'
|
||||
|
||||
const help = `
|
||||
## Use Badgen with HTTPS Endpoint
|
|
@ -82,10 +82,6 @@
|
|||
"source": "/homebrew/:match*",
|
||||
"destination": "https://v2022.badgen.net/homebrew/:match*"
|
||||
},
|
||||
{
|
||||
"source": "/https/:match*",
|
||||
"destination": "https://v2022.badgen.net/https/:match*"
|
||||
},
|
||||
{
|
||||
"source": "/jenkins/:match*",
|
||||
"destination": "https://v2022.badgen.net/jenkins/:match*"
|
||||
|
|
Ładowanie…
Reference in New Issue