mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
commit
316f1d6ff0
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
|||
if (isValidHttpUrl(url)) {
|
||||
onSubmit({
|
||||
type:
|
||||
url.startsWith('https://www.youtube.com') || url.startsWith('https://youtu.be')
|
||||
url.startsWith('https://www.youtube.com') || url.startsWith('https://youtu.be') || url.startsWith('https://youtube.com') || url.startsWith('https://m.youtube.com')
|
||||
? 'youtube'
|
||||
: 'web',
|
||||
data: url
|
||||
|
|
|
|||
Loading…
Reference in a new issue