forked from mirrored/github-stats-extended
feat: added disable_animations flag (#643)
This commit is contained in:
1 parent
94aeabe300
commit
f7f11d0b25
5 files changed
+15
-4
No files matched your search
@@ -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