Express use fails if one path is a substring of another

后端 未结 0 1683
一整个雨季
一整个雨季 2020-11-30 04:48

I\'m configuring a proxy (http-proxy-middleware) for dev server, using the following configuration

app.use(
  /^\\/(pathone|pathtwo|pathonetwo)/,
  createProx         


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