import path from 'path';
import cachifyStatic, { cachify } from 'connect-cachify-static';

export const PUBLIC_DIR = path.resolve(__dirname, '..', 'public');

const middleware = cachifyStatic(PUBLIC_DIR);
export { middleware as assetMiddleware, cachify as getAsset };

@@ -195,16 +195,82 @@
 BLIC_DIR
+, %7B%0A  match: /%5C.(js%7Ccss%7Csvg%7Ceot%7Cwoff%7Cttf%7Ccur%7Cpng%7Cgif%7Cjpg%7Cmp3)$/,%0A%7D
 );%0Aexpor

Add mp3 to cache list