aboutsummaryrefslogtreecommitdiffstats
path: root/node/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'node/config.go')
-rw-r--r--node/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/config.go b/node/config.go
index 301ec636e..23a745c2c 100644
--- a/node/config.go
+++ b/node/config.go
@@ -127,10 +127,10 @@ type Config struct {
// ephemeral nodes).
WSPort int
- // WSDomains is the list of domain to accept websocket requests from. Please be
+ // WSOrigins is the list of domain to accept websocket requests from. Please be
// aware that the server can only act upon the HTTP request the client sends and
// cannot verify the validity of the request header.
- WSDomains string
+ WSOrigins string
// WSModules is a list of API modules to expose via the websocket RPC interface.
// If the module list is empty, all RPC API endpoints designated public will be