remove breaking change

This commit is contained in:
garrettmills 2020-02-07 20:38:05 -06:00
parent 55b0b1235f
commit bcd3503d69

View File

@ -22,7 +22,7 @@ class IonicUnit extends Unit {
app.express.use(cors()) app.express.use(cors())
app.express.use('/i', [ app.express.use('/i', [
this.canon.get('middleware::auth:UserOnly'), // this.canon.get('middleware::auth:UserOnly'),
(req, res, next) => { (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']
for ( const k1 in allowed_extensions ) { for ( const k1 in allowed_extensions ) {