fix: bind to 0.0.0.0 instead of 127.0.0.1 — accessible from LAN
This commit is contained in:
parent
c2f87105e7
commit
7359357a0b
2 changed files with 2 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ func DefaultConfig() Config {
|
||||||
return Config{
|
return Config{
|
||||||
Server: ServerConfig{
|
Server: ServerConfig{
|
||||||
Port: ":8080",
|
Port: ":8080",
|
||||||
BindHost: "127.0.0.1",
|
BindHost: "0.0.0.0",
|
||||||
},
|
},
|
||||||
Storage: StorageConfig{
|
Storage: StorageConfig{
|
||||||
RecordingsPath: "/mnt/recordings",
|
RecordingsPath: "/mnt/recordings",
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
server:
|
server:
|
||||||
port: ":8080"
|
port: ":8080"
|
||||||
bind_host: "127.0.0.1"
|
bind_host: "0.0.0.0"
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
recordings_path: "/mnt/recordings"
|
recordings_path: "/mnt/recordings"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue