1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 04:32:35 +01:00

Add youtu.be embed handler (#945)

This commit is contained in:
Chris Chrome 2023-01-17 23:47:23 -07:00 committed by GitHub
parent 0e7f127ece
commit 7152a1c2c1

View File

@ -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);
},