You can disable the display of static assets by removing wwwmiddleware from middleware.order in /config/http.js :
module.exports.http = {
middleware: {
order: [
'startRequestTimer',
'cookieParser',
'session',
'bodyParser',
'handleBodyParserError',
'compress',
'methodOverride',
'poweredBy',
'$custom',
'router',
'favicon',
'404',
'500'
]
}
};
source
share