kopia lustrzana https://github.com/badgen/badgen
Update preview for api change
rodzic
4931e0d1a6
commit
572683199c
|
@ -12,7 +12,7 @@ const serveBadge = (req, res) => {
|
||||||
.map(s => qs.unescape(s))
|
.map(s => qs.unescape(s))
|
||||||
|
|
||||||
res.writeHead(200, { 'Content-Type': 'image/svg+xml;charset=utf-8' })
|
res.writeHead(200, { 'Content-Type': 'image/svg+xml;charset=utf-8' })
|
||||||
res.end(badgen({subject, status, color}, { style }))
|
res.end(badgen({subject, status, color, style}))
|
||||||
}
|
}
|
||||||
|
|
||||||
// @example
|
// @example
|
||||||
|
|
Ładowanie…
Reference in New Issue