From eed6fb7764e10050ac71df82b855e44738c749bb Mon Sep 17 00:00:00 2001 From: flashwave Date: Thu, 3 Jan 2019 16:21:03 +0100 Subject: [PATCH] Add audio formats to the proxy whitelist. --- public/proxy.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/proxy.php b/public/proxy.php index 3656f679..5720c256 100644 --- a/public/proxy.php +++ b/public/proxy.php @@ -5,6 +5,7 @@ $acceptedProtocols = ['http', 'https']; $acceptedMimeTypes = [ 'image/png', 'image/jpeg', 'image/bmp', 'image/gif', 'image/svg', 'image/svg+xml', 'image/tiff', 'image/webp', 'video/mp4', 'video/webm', 'video/x-msvideo', 'video/mpeg', 'video/ogg', + 'audio/aac', 'audio/ogg', 'audio/mp3', 'audio/mpeg', 'audio/wav', 'audio/webm', ]; header('Cache-Control: max-age=600');