Insert width and height
This commit is contained in:
parent
c04a3ed00d
commit
f0b6b4915e
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ func DownloadSelfHostedIcon(url, title, filePath string) ([]byte, error) {
|
|||
return nil, fmt.Errorf("failed to read icon: %w", err)
|
||||
}
|
||||
data = replaceClassNames(data, title)
|
||||
// data = insertWidthHeight(data)
|
||||
data = insertWidthHeight(data)
|
||||
err = os.WriteFile(filePath, data, fs.FileMode(0640))
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to write icon: %w", err)
|
||||
|
|
Loading…
Reference in a new issue