* Fix #981 Use -webserverip to set http listen address * use 0.0.0.0 as default http listen address * add Admin REST API for setting http listen address * full input validation of port and IP
This commit is contained in:
@@ -14,6 +14,7 @@ type Defaults struct {
|
||||
|
||||
DatabaseFilePath string
|
||||
WebServerPort int
|
||||
WebServerIP string
|
||||
RTMPServerPort int
|
||||
StreamKey string
|
||||
|
||||
@@ -46,6 +47,7 @@ func GetDefaults() Defaults {
|
||||
YPServer: "https://directory.owncast.online",
|
||||
|
||||
WebServerPort: 8080,
|
||||
WebServerIP: "0.0.0.0",
|
||||
RTMPServerPort: 1935,
|
||||
StreamKey: "abc123",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user