add customize style / script

This commit is contained in:
微凉
2021-11-14 14:37:26 +08:00
parent 0f93d2bfed
commit 0dffb9aaa1
4 changed files with 39 additions and 6 deletions

View File

@ -206,6 +206,18 @@ func initSettings() {
Type: "bool",
Description: "check parent folder password",
},
{
Key: "customize style",
Value: "",
Type: "text",
Description: "customize style, don't need add <style></style>",
},
{
Key: "customize script",
Value: "",
Type: "text",
Description: "customize script, don't need add <script></script>",
},
}
for _, v := range settings {
_, err := model.GetSettingByKey(v.Key)