Compare commits
2 Commits
v2023.4.24
...
v2023.4.25
Author | SHA1 | Date | |
---|---|---|---|
d188af81af | |||
e975381b4f |
2
Makefile
2
Makefile
@ -158,7 +158,7 @@ full-version:
|
|||||||
|
|
||||||
update-edge-lib:
|
update-edge-lib:
|
||||||
git pull --rebase
|
git pull --rebase
|
||||||
GOPRIVATE=forge.cadoles.com/arcad/edge go get -u forge.cadoles.com/arcad/edge
|
GOPROXY=direct GOPRIVATE=forge.cadoles.com/arcad/edge go get -u forge.cadoles.com/arcad/edge
|
||||||
go mod tidy
|
go mod tidy
|
||||||
$(MAKE) test
|
$(MAKE) test
|
||||||
git add go.mod go.sum
|
git add go.mod go.sum
|
||||||
|
@ -143,7 +143,7 @@ func getCookieDomain(r *http.Request) (string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If host is an IP address
|
// If host is an IP address
|
||||||
if wildcard.Match(host, "*.*.*.*") {
|
if ip := net.ParseIP(host); ip != nil {
|
||||||
return "", nil
|
return "", nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user