mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
commit
316f1d6ff0
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
if (isValidHttpUrl(url)) {
|
if (isValidHttpUrl(url)) {
|
||||||
onSubmit({
|
onSubmit({
|
||||||
type:
|
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'
|
? 'youtube'
|
||||||
: 'web',
|
: 'web',
|
||||||
data: url
|
data: url
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue