update whitelist fix bilibili video

This commit is contained in:
hykhd 2021-02-20 20:11:13 +08:00 committed by fguillot
parent e3c28a6c96
commit 3cb04b2c56
1 changed files with 1 additions and 0 deletions

View File

@ -326,6 +326,7 @@ func isValidIframeSource(baseURL, src string) bool {
"http://bandcamp.com",
"https://bandcamp.com",
"https://cdn.embedly.com",
"https://player.bilibili.com",
}
// allow iframe from same origin