mirror of https://github.com/Xhofe/alist
feat: add announcement setting
parent
9c2fc8e860
commit
0aa438dce4
|
@ -58,6 +58,14 @@ func InitSettings() {
|
||||||
Access: model.PUBLIC,
|
Access: model.PUBLIC,
|
||||||
Group: model.FRONT,
|
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",
|
Key: "text types",
|
||||||
Value: strings.Join(conf.TextTypes, ","),
|
Value: strings.Join(conf.TextTypes, ","),
|
||||||
|
|
Loading…
Reference in New Issue