kopia lustrzana https://github.com/badgen/badgen.net
Fix flat style serving
rodzic
de32596334
commit
5cafca6682
|
@ -44,7 +44,7 @@ export function badgenServe (handlers: BadgenServeHandlers): Function {
|
|||
color: 'grey'
|
||||
}
|
||||
|
||||
if (req.headers.host.startsWith('flat.') && query.style !== undefined) {
|
||||
if (req.headers.host.startsWith('flat.') && query.style === undefined) {
|
||||
query.style = 'flat'
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue