diff --git a/libs/badgen-serve.ts b/libs/badgen-serve.ts index 3f6b017..760d537 100644 --- a/libs/badgen-serve.ts +++ b/libs/badgen-serve.ts @@ -69,6 +69,7 @@ export function badgenServe (handlers: BadgenServeHandlers): Function { params.subject = simpleDecode(params.subject) params.status = simpleDecode(params.status) + // @ts-ignore query.icon = icon === '' ? params.subject : icon if (query.style === undefined) {