Skip to content

Commit 0aa438d

Browse files
committed
feat: add announcement setting
1 parent 9c2fc8e commit 0aa438d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bootstrap/setting.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ func InitSettings() {
5858
Access: model.PUBLIC,
5959
Group: model.FRONT,
6060
},
61+
{
62+
Key: "announcement",
63+
Value: "This is a test announcement.",
64+
Description: "announcement message",
65+
Type: "text",
66+
Access: model.PUBLIC,
67+
Group: model.FRONT,
68+
},
6169
{
6270
Key: "text types",
6371
Value: strings.Join(conf.TextTypes, ","),

0 commit comments

Comments
 (0)