mirror of
https://github.com/owncast/owncast.git
synced 2025-11-02 03:54:54 +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))
|
||||
|
||||
controllers.WriteSimpleResponse(w, true, "custom styles updated")
|
||||
|
||||
}
|
||||
|
||||
func requirePOST(w http.ResponseWriter, r *http.Request) bool {
|
||||
|
||||
Reference in New Issue
Block a user