egg icon indicating copy to clipboard operation
egg copied to clipboard

egg-static-plugin conflict with egg-passport

Open fuufuuf opened this issue 8 years ago • 1 comments

  • Node Version:
  • Egg Version:
  • Plugin Name:
  • Plugin Version:
  • Platform:
  • Mini Showcase Repository:

使用egg-static-plugin后,静态html文件请求不能被中间见拿到,从而不能实现passport鉴权。有办法在现有framework中拿到静态文件请求而后处理判断吗

fuufuuf avatar May 08 '18 15:05 fuufuuf

You can use egg-view to host your html.

popomore avatar May 08 '18 15:05 popomore