mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-09 07:02:01 -05:00
[PR #20] [MERGED] [youtube] Add Missing URL in isYoutubeUrl Function #27
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/feeddeck/feeddeck/pull/20
Author: @ricoberger
Created: 10/7/2023
Status: ✅ Merged
Merged: 10/7/2023
Merged by: @ricoberger
Base:
main← Head:youtube-add-missing-url📝 Commits (1)
e80a931[youtube] Add Missing URL in isYoutubeUrl Function📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
supabase/functions/_shared/feed/youtube.ts(+2 -1)📄 Description
In the "isYoutubeUrl" function we are checking if the provided url is related to YouTube. For that we checked if the url starts with "https://www.youtube.com/" or "https://m.youtube.com/", but we also have to check if the url starts with "https://youtube.com/" which is used when a users shares a link to a channel via the YouTube app.
In this commit we add the missing "https://youtube.com/" option to the "isYoutubeUrl" function.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.