mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-27 02:04:45 -07:00
Listen on all interfaces by default
[ci skip]
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user