mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Add soundcloud and bandcamp iframe sources
This commit is contained in:
parent
1ce522b98a
commit
920dda79b7
1 changed files with 6 additions and 0 deletions
|
@ -280,6 +280,12 @@ func isValidIframeSource(src string) bool {
|
||||||
"https://www.dailymotion.com",
|
"https://www.dailymotion.com",
|
||||||
"http://vk.com",
|
"http://vk.com",
|
||||||
"https://vk.com",
|
"https://vk.com",
|
||||||
|
"http://soundcloud.com",
|
||||||
|
"https://soundcloud.com",
|
||||||
|
"http://w.soundcloud.com",
|
||||||
|
"https://w.soundcloud.com",
|
||||||
|
"http://bandcamp.com",
|
||||||
|
"https://bandcamp.com",
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, prefix := range whitelist {
|
for _, prefix := range whitelist {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue