mirror of
https://github.com/owncast/owncast.git
synced 2025-11-01 10:55:57 +08:00
Add missing content-type
This commit is contained in:
@ -11,6 +11,7 @@ import (
|
||||
// GetWebConfig gets the status of the server.
|
||||
func GetWebConfig(w http.ResponseWriter, r *http.Request) {
|
||||
middleware.EnableCors(&w)
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
|
||||
configuration := config.Config.InstanceDetails
|
||||
configuration.Version = config.Config.VersionInfo
|
||||
|
||||
Reference in New Issue
Block a user