mirror of
https://github.com/MontFerret/ferret.git
synced 2025-01-08 03:13:15 +02:00
Fixed nil pointer exception (#636)
This commit is contained in:
parent
62a0665a99
commit
1d64cb5da7
@ -88,7 +88,9 @@ func LoadHTMLPage(
|
||||
}
|
||||
|
||||
if params.Ignore != nil && len(params.Ignore.Resources) > 0 {
|
||||
netOpts.Filter.Patterns = params.Ignore.Resources
|
||||
netOpts.Filter = &net.Filter{
|
||||
Patterns: params.Ignore.Resources,
|
||||
}
|
||||
}
|
||||
|
||||
netManager, err := net.New(ctx, logger, client, netOpts)
|
||||
|
Loading…
Reference in New Issue
Block a user