remove breaking change
This commit is contained in:
parent
55b0b1235f
commit
bcd3503d69
@ -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 ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user