diff --git a/app/IonicUnit.js b/app/IonicUnit.js index 1c35cf3..788305b 100644 --- a/app/IonicUnit.js +++ b/app/IonicUnit.js @@ -22,7 +22,7 @@ class IonicUnit extends Unit { app.express.use(cors()) app.express.use('/i', [ - // this.canon.get('middleware::auth:UserOnly'), + this.canon.get('middleware::auth:UserOnly'), (req, res, next) => { const allowed_extensions = ['.html', '.js', '.css', '.svg', '.ttf', '.jpg', '.png', '.jpeg'] for ( const k1 in allowed_extensions ) {