feat: add custom piped and invidious embeds

This commit is contained in:
Xylight committed 2024-06-08 14:57:57 -07:00
1 parent 74701ffe3f
commit 3721630cc8
4 files changed
+38 -2

No files matched your search

+4
View File
@@ -70,6 +70,8 @@ interface Settings {
embeds: {
clickToView: boolean
youtube: 'youtube' | 'invidious' | 'piped'
invidious: string | undefined
piped: string | undefined
}
dock: {
noGap: boolean | null
@@ -129,6 +131,8 @@ export const defaultSettings: Settings = {
embeds: {
clickToView: true,
youtube: 'youtube',
invidious: undefined,
piped: undefined,
},
dock: {
noGap: toBool(env.PUBLIC_DOCK_PANEL) ?? null,