mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-09-03 04:18:06 +00:00
feat: add wakatime compact layout (#560)
* Add wakatime compact layout * Update readme * test: added & updated test snapshots Co-authored-by: Anurag <hazru.anurag@gmail.com>
This commit is contained in:
co-authored by
Anurag
parent
6e82cfb32d
commit
94aeabe300
@@ -24,6 +24,7 @@ module.exports = async (req, res) => {
|
||||
hide_progress,
|
||||
custom_title,
|
||||
locale,
|
||||
layout,
|
||||
} = req.query;
|
||||
|
||||
res.setHeader("Content-Type", "image/svg+xml");
|
||||
@@ -60,6 +61,7 @@ module.exports = async (req, res) => {
|
||||
theme,
|
||||
hide_progress,
|
||||
locale: locale ? locale.toLowerCase() : null,
|
||||
layout,
|
||||
}),
|
||||
);
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user