fix(download): fix filename parsing
build / Go-Build (push) Successful in 1m29s

This commit is contained in:
2026-05-26 02:33:00 +02:00
parent 9097d4257d
commit 20cb740eb6
+1 -1
View File
@@ -91,7 +91,7 @@ func (f FileSvgStorage) CreatePublic(data io.Reader, filetype string) (string, e
return "", err return "", err
} }
return strings.TrimPrefix(file.Name(), path), nil return filepath.Base(file.Name()), nil
} }
func (f FileSvgStorage) GetPublic(path string) (io.ReadCloser, error) { func (f FileSvgStorage) GetPublic(path string) (io.ReadCloser, error) {