mirror of
https://github.com/owncast/owncast.git
synced 2025-11-02 11:56:57 +08:00
Consolidate config files and surface frontend values via API. Closes #30
This commit is contained in:
@ -29,6 +29,9 @@ func Start() error {
|
||||
// chat rest api
|
||||
http.HandleFunc("/chat", controllers.GetChatMessages)
|
||||
|
||||
// web config api
|
||||
http.HandleFunc("/config", controllers.GetWebConfig)
|
||||
|
||||
port := config.Config.WebServerPort
|
||||
|
||||
log.Printf("Starting public web server on port: %d", port)
|
||||
|
||||
Reference in New Issue
Block a user