1
0
Fork 0
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:
jvoisin 2024-12-07 23:02:27 +01:00 committed by Frédéric Guillot
parent 0e185849b4
commit cc885bbabb

View file

@ -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
}