Skip to content

Commit

Permalink
Updated go mod
Browse files Browse the repository at this point in the history
+ Updated go mod to latest version
+ Fixed minor UX problem pn acme snippet
  • Loading branch information
tobychui committed Aug 30, 2023
1 parent 069f480 commit f15c774
Show file tree
Hide file tree
Showing 5 changed files with 215 additions and 78 deletions.
6 changes: 3 additions & 3 deletions src/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ func initAPIs() {

//Others
http.HandleFunc("/api/info/x", HandleZoraxyInfo)
http.HandleFunc("/api/info/geoip", HandleGeoIpLookup)
http.HandleFunc("/api/conf/export", ExportConfigAsZip)
http.HandleFunc("/api/conf/import", ImportConfigFromZip)
authRouter.HandleFunc("/api/info/geoip", HandleGeoIpLookup)
authRouter.HandleFunc("/api/conf/export", ExportConfigAsZip)
authRouter.HandleFunc("/api/conf/import", ImportConfigFromZip)

//Debug
authRouter.HandleFunc("/api/info/pprof", pprof.Index)
Expand Down
15 changes: 8 additions & 7 deletions src/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ go 1.16

require (
github.com/boltdb/bolt v1.3.1
github.com/go-acme/lego/v4 v4.12.1
github.com/go-acme/lego/v4 v4.14.0
github.com/go-ping/ping v1.1.0
github.com/google/uuid v1.3.0
github.com/google/uuid v1.3.1
github.com/gorilla/sessions v1.2.1
github.com/gorilla/websocket v1.4.2
github.com/gorilla/websocket v1.5.0
github.com/grandcat/zeroconf v1.0.0
github.com/likexian/whois v1.15.0
github.com/microcosm-cc/bluemonday v1.0.24
golang.org/x/net v0.11.0
golang.org/x/sys v0.9.0
github.com/likexian/whois v1.15.1
github.com/microcosm-cc/bluemonday v1.0.25
golang.org/x/net v0.14.0
golang.org/x/sys v0.11.0
golang.org/x/tools v0.12.0 // indirect
)
Loading

0 comments on commit f15c774

Please sign in to comment.