Express block/allow some nested endpoints

前端 未结 0 372
清酒与你
清酒与你 2020-12-21 20:52

My application has a guest mode. I want to block access to endpoints that need signing in.

Lets say I have the following snippet:



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