Hi sir,
I used this to handle the response timeout in totaljs 3,
ROUTE('#408', function () {
var self = this;
self.json({ code: 408, message: 'Error timeout!'});
});
That will return same timeout response for all routes and that's OK.
Right now, I want to custom the response timeout only to spesific route, but the other routes still using default timeout response like above?
Is this possible? How to do this in TotalJS 3?
Thanks for your help.