mirror of
https://github.com/owncast/owncast.git
synced 2025-11-03 13:01:46 +08:00
Return success on custom styles save
This commit is contained in:
@ -537,6 +537,9 @@ func SetCustomStyles(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
data.SetCustomStyles(customStyles.Value.(string))
|
data.SetCustomStyles(customStyles.Value.(string))
|
||||||
|
|
||||||
|
controllers.WriteSimpleResponse(w, true, "custom styles updated")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func requirePOST(w http.ResponseWriter, r *http.Request) bool {
|
func requirePOST(w http.ResponseWriter, r *http.Request) bool {
|
||||||
|
|||||||
Reference in New Issue
Block a user