Invidious is an alternative front-end to YouTube
Allow default_home config to be empty value
syeopite428747ab694c
diff --git a/src/invidious/helpers/helpers.cr b/src/invidious/helpers/helpers.crindex 5d127e1a..f6b6acd1 100644--- a/src/invidious/helpers/helpers.cr+++ b/src/invidious/helpers/helpers.cr@@ -42,7 +42,7 @@ struct ConfigPreferencesproperty player_style : String = "invidious"property quality : String = "hd720"property quality_dash : String = "auto"- property default_home : String = "Popular"+ property default_home : String? = "Popular"property feed_menu : Array(String) = ["Popular", "Trending", "Subscriptions", "Playlists"]property related_videos : Bool = trueproperty sort : String = "published"diff --git a/src/invidious/users.cr b/src/invidious/users.crindex 7a948b76..8fef64a0 100644--- a/src/invidious/users.cr+++ b/src/invidious/users.cr@@ -68,7 +68,7 @@ struct Preferencesproperty quality : String = CONFIG.default_user_preferences.quality@[JSON::Field(converter: Preferences::ProcessString)]property quality_dash : String = CONFIG.default_user_preferences.quality_dash- property default_home : String = CONFIG.default_user_preferences.default_home+ property default_home : String? = CONFIG.default_user_preferences.default_homeproperty feed_menu : Array(String) = CONFIG.default_user_preferences.feed_menuproperty related_videos : Bool = CONFIG.default_user_preferences.related_videos