Skip to content

Commit

Permalink
release: 0.3.1
Browse files Browse the repository at this point in the history
fix: #9
  • Loading branch information
ludoux committed Aug 11, 2022
1 parent 6ca0a24 commit 97c61a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var (
disableTrackerHostAnalize bool = false
)

var version string = "0.3.0"
var version string = "0.3.1"

type hashsPair struct {
hash2Torrent map[string]qbt.BasicTorrent
Expand All @@ -65,7 +65,7 @@ type filterOptions struct {
func getTrackerHost(trackers string) (string, error) {

if disableTrackerHostAnalize {
return trackers, nil
return "_tracker_", nil
}
hostReg := regexp.MustCompile(`((http://)|(https://)|(tcp://)|(udp://)|(ws://)|(wss://))?(?P<main>[^/]+?)(:\d+)?/`)
ipv4IpReg := regexp.MustCompile(`^\d+\.\d+\.\d+\.\d+$`)
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.0
0.3.1

0 comments on commit 97c61a8

Please sign in to comment.