kobe6258 1 өдөр өмнө
parent
commit
8c6a84d6c5

+ 2 - 2
controllers/audio.go

@@ -20,8 +20,8 @@ import (
 
 var (
 	audioType = map[string]int{
-		"mp3": 1,
-		"m4a": 1,
+		".mp3": 1,
+		".m4a": 1,
 	}
 )
 

+ 1 - 1
controllers/video.go

@@ -22,7 +22,7 @@ import (
 
 var (
 	videoType = map[string]int{
-		"mp4": 1,
+		".mp4": 1,
 	}
 )