just overwrite bundles, don't delete then re-add

This commit is contained in:
Joe Lothan 2026-05-20 00:09:53 -04:00
parent d6ef34a1dc
commit eb40995c60
3 changed files with 2 additions and 56 deletions

View file

@ -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
}