mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Set and get custom styling for web interface. For #718
This commit is contained in:
@@ -39,6 +39,7 @@ func GetServerConfig(w http.ResponseWriter, r *http.Request) {
|
||||
Logo: data.GetLogoPath(),
|
||||
SocialHandles: data.GetSocialHandles(),
|
||||
NSFW: data.GetNSFW(),
|
||||
CustomStyles: data.GetCustomStyles(),
|
||||
},
|
||||
FFmpegPath: utils.ValidatedFfmpegPath(data.GetFfMpegPath()),
|
||||
StreamKey: data.GetStreamKey(),
|
||||
@@ -94,6 +95,7 @@ type webConfigResponse struct {
|
||||
ExtraPageContent string `json:"extraPageContent"`
|
||||
StreamTitle string `json:"streamTitle"` // What's going on with the current stream
|
||||
SocialHandles []models.SocialHandle `json:"socialHandles"`
|
||||
CustomStyles string `json:"customStyles"`
|
||||
}
|
||||
|
||||
type yp struct {
|
||||
|
||||
Reference in New Issue
Block a user