Nextjs routing - Catch everything except public folder

前端 未结 0 1799
天涯浪人
天涯浪人 2021-02-15 22:06

pages/[...slug].js catches all of my sub folders but I need to exclude /public folder. How can I exclude the /public folder?

I have implemented this code and it works. Bu

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