feat(wakatime card): add disable animations query option (#3496)

* feat(wakatime card): add disable animations query option

* docs
This commit is contained in:
Alexandr Garbuzov
2023-11-23 21:06:01 +02:00
committed by GitHub
parent afcb773b11
commit a8663a8025
4 changed files with 9 additions and 0 deletions
+2
View File
@@ -30,6 +30,7 @@ export default async (req, res) => {
api_domain,
border_radius,
border_color,
disable_animations,
} = req.query;
res.setHeader("Content-Type", "image/svg+xml");
@@ -83,6 +84,7 @@ export default async (req, res) => {
locale: locale ? locale.toLowerCase() : null,
layout,
langs_count,
disable_animations: parseBoolean(disable_animations),
}),
);
} catch (err) {