simon-hardy
Results
3
comments of
simon-hardy
On the client side: You need to use the AuthHttp with class from angular2-jwt instead of the basic Http class. The easiest way is in the shared.module.ts file: ``` import...
@AmirGilboa 1. I had to modify the routes to use a different syntax along the lines of: ``` app.get('/api/cart/:cartId', ensureLoggedIn, (req, res, next) => { // Logic... return res.status(200).json(cart); });...