How to protect a route in a Mern application?

后端 未结 0 1678
被撕碎了的回忆
被撕碎了的回忆 2021-02-06 17:43

Does any of you can help me to protect my getProducts, route. (The route that displays the product) The products page will be shown, only if I am logged in.

I am working

相关标签:
回答
  • 消灭零回复
提交回复
热议问题