From 7152a1c2c1321d23f945fc404bd8adfd00e5fc83 Mon Sep 17 00:00:00 2001 From: Chris Chrome Date: Tue, 17 Jan 2023 23:47:23 -0700 Subject: Add youtu.be embed handler (#945) --- src/api/util/utility/EmbedHandlers.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/api/util/utility/EmbedHandlers.ts b/src/api/util/utility/EmbedHandlers.ts index 87215ace..522ff82b 100644 --- a/src/api/util/utility/EmbedHandlers.ts +++ b/src/api/util/utility/EmbedHandlers.ts @@ -420,7 +420,9 @@ export const EmbedHandlers: { }, }; }, - + "youtu.be": (url: URL) => { + return EmbedHandlers["www.youtube.com"](url); + }, "youtube.com": (url: URL) => { return EmbedHandlers["www.youtube.com"](url); }, -- cgit 1.4.1