The Home-Show route uses this middleware chain:
server.get( ' Show ' ,consentTracking.consent,cache.applyDefaultCache,
function(req,res,next) {
// base code here
}
);
The developer added Home.js in another cartridge, which is before the original cartridge in the cartridge path, to extend that route but it does not have the middleware chain:
server.append( ' Show ' ,function(req,res,next) {
// custom code here
});
Assuming the code is correct on both functions, what is the expected result?
Submit