From b0b62cc50da1e165876172820855f0e697c17666 Mon Sep 17 00:00:00 2001 From: garrettmills Date: Wed, 21 Oct 2020 14:31:48 -0500 Subject: [PATCH] Allow web manifest to be downloaded from assets --- app/IonicUnit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/IonicUnit.js b/app/IonicUnit.js index 98cec2d..f6c2270 100644 --- a/app/IonicUnit.js +++ b/app/IonicUnit.js @@ -24,7 +24,7 @@ class IonicUnit extends Unit { app.express.use('/i', [ this.canon.get('middleware::auth:UserOnly'), (req, res, next) => { - const allowed_extensions = ['.html', '.js', '.css', '.svg', '.ttf', '.jpg', '.png', '.jpeg'] + const allowed_extensions = ['.html', '.js', '.css', '.svg', '.ttf', '.jpg', '.png', '.jpeg', '.webmanifest'] for ( const k1 in allowed_extensions ) { if ( req.path.endsWith(allowed_extensions[k1]) ) return next() }