just overwrite bundles, don't delete then re-add
This commit is contained in:
parent
d6ef34a1dc
commit
eb40995c60
3 changed files with 2 additions and 56 deletions
|
|
@ -72,10 +72,3 @@ func isSVG(data []byte) bool {
|
|||
header := data[:min(256, len(data))]
|
||||
return bytes.Contains(header, []byte("<svg")) || bytes.Contains(header, []byte("<?xml"))
|
||||
}
|
||||
|
||||
func min(a, b int) int {
|
||||
if a < b {
|
||||
return a
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue