mirror of
https://github.com/mgerb/go-discord-bot
synced 2026-01-11 17:42:48 +00:00
cache busting - minor audio file fix
This commit is contained in:
@@ -37,13 +37,12 @@ export default class SoundList extends React.Component {
|
||||
}
|
||||
|
||||
checkExtension(extension) {
|
||||
console.log(extension);
|
||||
switch(extension) {
|
||||
case "wav":
|
||||
return true;
|
||||
case "wav":
|
||||
case "mp3":
|
||||
return true;
|
||||
case "wav":
|
||||
case "mpeg":
|
||||
return true;
|
||||
default:
|
||||
console.log("not working");
|
||||
|
||||
Reference in New Issue
Block a user