From 0aa438dce4e5cb2017f9f03e66ab88b46ed86286 Mon Sep 17 00:00:00 2001 From: Xhofe Date: Sat, 12 Mar 2022 21:09:33 +0800 Subject: [PATCH] feat: add announcement setting --- bootstrap/setting.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bootstrap/setting.go b/bootstrap/setting.go index 6f91a7c7..e8a6bde1 100644 --- a/bootstrap/setting.go +++ b/bootstrap/setting.go @@ -58,6 +58,14 @@ func InitSettings() { Access: model.PUBLIC, Group: model.FRONT, }, + { + Key: "announcement", + Value: "This is a test announcement.", + Description: "announcement message", + Type: "text", + Access: model.PUBLIC, + Group: model.FRONT, + }, { Key: "text types", Value: strings.Join(conf.TextTypes, ","),