Fixing badge
parent
1271ba3444
commit
47809f991c
2
badge.go
2
badge.go
|
@ -30,7 +30,7 @@ func badgeHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
// Verifica se il file MP3 esiste
|
// Verifica se il file MP3 esiste
|
||||||
if _, err := os.Stat("." + mp3Path); os.IsNotExist(err) {
|
if _, err := os.Stat("." + mp3Path); os.IsNotExist(err) {
|
||||||
http.Error(w, "Episode not found", http.StatusNotFound)
|
http.Error(w, "Episode not found: "+mp3Path, http.StatusNotFound)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue