mirror of
https://github.com/oneclickvirt/backtrace.git
synced 2025-04-04 19:53:11 +08:00
fix: 修复Hits徽章访问量统计,使用 https://github.com/oneclickvirt/hitscounter
This commit is contained in:
parent
7b1ebd3cc7
commit
153787b112
@ -1,6 +1,6 @@
|
||||
# backtrace
|
||||
|
||||
[](https://hits.seeyoufarm.com)
|
||||
[](https://hits.spiritlhl.net)
|
||||
|
||||
[](https://github.com/oneclickvirt/backtrace/actions/workflows/main.yaml)
|
||||
|
||||
|
@ -22,7 +22,7 @@ type IpInfo struct {
|
||||
|
||||
func main() {
|
||||
go func() {
|
||||
http.Get("https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Foneclickvirt%2Fbacktrace&count_bg=%2323E01C&title_bg=%23555555&icon=sonarcloud.svg&icon_color=%23E7E7E7&title=hits&edge_flat=false")
|
||||
http.Get("https://hits.spiritlhl.net/backtrace.svg?action=hit&title=Hits&title_bg=%23555555&count_bg=%230eecf8&edge_flat=false")
|
||||
}()
|
||||
fmt.Println(Green("项目地址:"), Yellow("https://github.com/oneclickvirt/backtrace"))
|
||||
var showVersion, showIpInfo, help bool
|
||||
|
Loading…
Reference in New Issue
Block a user