mirror of https://github.com/daffainfo/nuclei.git
fix on ignore call
parent
5959daa58f
commit
25098c8ea6
|
@ -36,7 +36,7 @@ func GetLatestNucleiTemplatesVersion() (*LatestVersion, error) {
|
||||||
|
|
||||||
// GetLatestIgnoreFile returns the latest version of nuclei ignore
|
// GetLatestIgnoreFile returns the latest version of nuclei ignore
|
||||||
func GetLatestIgnoreFile() ([]byte, error) {
|
func GetLatestIgnoreFile() ([]byte, error) {
|
||||||
resp, err := retryablehttp.DefaultClient().Get(RegisterServer + VersionsCall)
|
resp, err := retryablehttp.DefaultClient().Get(RegisterServer + IgnoreCall)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue