add .webp as overwrite option for icons + docs

pull/852/head^2
gan-of-culture 2025-10-23 00:44:54 +07:00
parent 36d5ae023f
commit 6718a74304
1 changed files with 1 additions and 1 deletions

@ -155,7 +155,7 @@ func newCustomIconField(value string) customIconField {
basename = icon
}
if ext != "svg" && ext != "png" {
if ext != "svg" && ext != "png" && ext != "webp" {
ext = "svg"
}