good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 902f6c09 authored by Alex Sharov's avatar Alex Sharov Committed by GitHub
Browse files

fix origin for localhost (#2198)

parent 4533b597
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ import (
"github.com/ledgerwatch/erigon/common/paths"
"github.com/ledgerwatch/erigon/p2p"
"github.com/ledgerwatch/erigon/p2p/nat"
"github.com/ledgerwatch/erigon/rpc"
)
const (
......@@ -31,13 +32,13 @@ const (
// DefaultConfig contains reasonable default settings.
var DefaultConfig = Config{
DataDir: paths.DefaultDataDir(),
//HTTPPort: DefaultHTTPPort,
//HTTPModules: []string{"net", "web3"},
//HTTPVirtualHosts: []string{"localhost"},
//HTTPTimeouts: rpc.DefaultHTTPTimeouts,
//WSPort: DefaultWSPort,
//WSModules: []string{"net", "web3"},
DataDir: paths.DefaultDataDir(),
HTTPPort: DefaultHTTPPort,
HTTPModules: []string{"net", "web3"},
HTTPVirtualHosts: []string{"localhost"},
HTTPTimeouts: rpc.DefaultHTTPTimeouts,
WSPort: DefaultWSPort,
WSModules: []string{"net", "web3"},
P2P: p2p.Config{
ListenAddr: ":30303",
ListenAddr65: ":30304",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment