Added Language_count parameter

Signed-off-by: Florian Bouillon <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-09-08 14:16:28 +02:00
parent 1b9e41ba1b
commit c81b6da0a9
6 changed files with 35 additions and 117 deletions

View File

@@ -19,7 +19,8 @@ module.exports = async (req, res) => {
card_width,
title_color,
text_color,
bg_color,
bg_color,
language_count,
theme,
cache_seconds,
layout,
@@ -48,7 +49,8 @@ module.exports = async (req, res) => {
hide_title: parseBoolean(hide_title),
hide_border: parseBoolean(hide_border),
card_width: parseInt(card_width, 10),
hide: parseArray(hide),
hide: parseArray(hide),
language_count: parseInt(language_count),
title_color,
text_color,
bg_color,