Listen on all interfaces by default
[ci skip]
This commit is contained in:
parent
dfc31495b7
commit
c1c9ee07a9
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ type Config struct {
|
||||||
|
|
||||||
// DefaultConfig is a configuration that can be used as a fallback value.
|
// DefaultConfig is a configuration that can be used as a fallback value.
|
||||||
var DefaultConfig = Config{
|
var DefaultConfig = Config{
|
||||||
Addr: "127.0.0.1:6881",
|
Addr: ":6881",
|
||||||
|
|
||||||
Tracker: DriverConfig{
|
Tracker: DriverConfig{
|
||||||
Name: "memory",
|
Name: "memory",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"network": "tcp",
|
"network": "tcp",
|
||||||
"addr": "127.0.0.1:6881",
|
"addr": ":6881",
|
||||||
|
|
||||||
"tracker": {
|
"tracker": {
|
||||||
"driver": "memory"
|
"driver": "memory"
|
||||||
|
|
Loading…
Reference in a new issue