feat: add 'exclude_repo' option to stats card (#1450)

This commit allows users to exclude repositories for the stats card
using the `exclude_repo` option.
This commit is contained in:
Rick Staa
2022-09-16 13:09:19 +02:00
committed by GitHub
parent dc8852dd6b
commit c1324b31bf
4 changed files with 65 additions and 13 deletions
+2
View File
@@ -29,6 +29,7 @@ module.exports = async (req, res) => {
bg_color,
theme,
cache_seconds,
exclude_repo,
custom_title,
locale,
disable_animations,
@@ -50,6 +51,7 @@ module.exports = async (req, res) => {
username,
parseBoolean(count_private),
parseBoolean(include_all_commits),
parseArray(exclude_repo),
);
const cacheSeconds = clampValue(