mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-08-07 04:23:58 +00:00
feat(wakatime card): add disable animations query option (#3496)
* feat(wakatime card): add disable animations query option * docs
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user