You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to check if /api/deals/private is protected, using directly in browser, it shows this error, not only the 401 Unauthorized.
Error
at middleware (/var/www/server/node_modules/express-jwt/lib/index.js:80:21)
at Layer.handle [as handle_request] (/var/www/server/node_modules/express/lib/router/layer.js:95:5)
at next (/var/www/server/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/var/www/server/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/var/www/server/node_modules/express/lib/router/layer.js:95:5)
at /var/www/server/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/var/www/server/node_modules/express/lib/router/index.js:335:12)
at next (/var/www/server/node_modules/express/lib/router/index.js:275:10)
at cors (/var/www/server/node_modules/cors/lib/index.js:185:7)
at /var/www/server/node_modules/cors/lib/index.js:221:17
The text was updated successfully, but these errors were encountered:
Hello
When I try to check if /api/deals/private is protected, using directly in browser, it shows this error, not only the 401 Unauthorized.
Error
at middleware (/var/www/server/node_modules/express-jwt/lib/index.js:80:21)
at Layer.handle [as handle_request] (/var/www/server/node_modules/express/lib/router/layer.js:95:5)
at next (/var/www/server/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/var/www/server/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/var/www/server/node_modules/express/lib/router/layer.js:95:5)
at /var/www/server/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/var/www/server/node_modules/express/lib/router/index.js:335:12)
at next (/var/www/server/node_modules/express/lib/router/index.js:275:10)
at cors (/var/www/server/node_modules/cors/lib/index.js:185:7)
at /var/www/server/node_modules/cors/lib/index.js:221:17
The text was updated successfully, but these errors were encountered: