mirror of
https://github.com/miniflux/v2.git
synced 2025-07-22 17:18:37 +00:00
config.Opts is guaranteed to never be nil
This commit is contained in:
parent
0e185849b4
commit
cc885bbabb
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ func isValidIframeSource(baseURL, src string) bool {
|
|||
}
|
||||
|
||||
// allow iframe from custom invidious instance
|
||||
if config.Opts != nil && config.Opts.InvidiousInstance() == domain {
|
||||
if config.Opts.InvidiousInstance() == domain {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue