We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
复现repo: 404-never-shows
安装依赖后,启动yarn start
yarn start
输入一个完全不存在的url,例如:http://localhost:8000/abcdefg, 页面依旧可以打开,可以看到是因为代码layout/index.tsx,对于不存在的路由,永远可以匹配第一项/,导致后面通过currentPathConfig来判断路由是否存在的地方,永远不起作用
/
currentPathConfig
The text was updated successfully, but these errors were encountered:
fix: 404-page-defalut-display-logic #95
88c51c6
99405e4
Ariel-Cheng
No branches or pull requests
复现repo: 404-never-shows
安装依赖后,启动
yarn start
输入一个完全不存在的url,例如:http://localhost:8000/abcdefg, 页面依旧可以打开,可以看到是因为代码layout/index.tsx,对于不存在的路由,永远可以匹配第一项
/
,导致后面通过currentPathConfig
来判断路由是否存在的地方,永远不起作用The text was updated successfully, but these errors were encountered: