mirror of https://github.com/Xhofe/alist
feat: add announcement setting
parent
9c2fc8e860
commit
0aa438dce4
|
@ -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, ","),
|
||||
|
|
Loading…
Reference in New Issue