forked from cerc-io/plugeth
all: remove term "whitelist" in comments and log messages (#23294)
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ func wsHandshakeValidator(allowedOrigins []string) func(*http.Request) bool {
|
||||
if _, ok := req.Header["Origin"]; !ok {
|
||||
return true
|
||||
}
|
||||
// Verify origin against whitelist.
|
||||
// Verify origin against allow list.
|
||||
origin := strings.ToLower(req.Header.Get("Origin"))
|
||||
if allowAllOrigins || originIsAllowed(origins, origin) {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user