mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Expose default theme in meta and API (#13809)
Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
@@ -23,6 +23,7 @@ func GetGeneralUISettings(ctx *context.APIContext) {
|
||||
// "200":
|
||||
// "$ref": "#/responses/GeneralUISettings"
|
||||
ctx.JSON(http.StatusOK, api.GeneralUISettings{
|
||||
DefaultTheme: setting.UI.DefaultTheme,
|
||||
AllowedReactions: setting.UI.Reactions,
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user