mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-09-03 02:20:04 +00:00
feat: added disable_animations flag (#643)
This commit is contained in:
@@ -30,6 +30,7 @@ module.exports = async (req, res) => {
|
||||
cache_seconds,
|
||||
custom_title,
|
||||
locale,
|
||||
disable_animations,
|
||||
} = req.query;
|
||||
let stats;
|
||||
|
||||
@@ -74,6 +75,7 @@ module.exports = async (req, res) => {
|
||||
theme,
|
||||
custom_title,
|
||||
locale: locale ? locale.toLowerCase() : null,
|
||||
disable_animations: parseBoolean(disable_animations),
|
||||
}),
|
||||
);
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user