fix cloudflare fr?

This commit is contained in:
2026-03-12 20:51:59 +01:00
parent c6f2f9cc5a
commit dba1fda6ca
10 changed files with 45 additions and 39 deletions

View File

@@ -302,7 +302,7 @@ func extractImageFromFile(osuRoot, folder, file string) string {
bm, err := parser.ParseOsuFile(filepath.Join(osuRoot, "Songs", folder, file))
if err != nil {
fmt.Println(err)
return "404.png"
return ""
}
bgImage := bm.BackgroundImage()
@@ -310,5 +310,5 @@ func extractImageFromFile(osuRoot, folder, file string) string {
return filepath.Join(folder, bgImage)
}
return "404.png"
return ""
}