Skip to content
New issue

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

[Bug] 同时指定非空base和history为memory时,无法正常访问 #12789

Open
cui-xxu opened this issue Nov 19, 2024 · 1 comment
Open

Comments

@cui-xxu
Copy link

cui-xxu commented Nov 19, 2024

What happens?

配置文件中,同时指定base: '/dawn', history: { type: 'memory' },时,无法正常访问,浏览器白页面,控制台有警告“ is not able to match the URL "/" because it does not start with the basename, so the won't render anything.”

Mini Showcase Repository(REQUIRED)

Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库

https://github.com/cui-xxu/umi-bug/tree/master

How To Reproduce

Steps to reproduce the behavior: 1. 2.

  1. mkdir bug1
  2. cd bug1
  3. git init
  4. git remote add umi-bug-github https://github.com/cui-xxu/umi-bug.git
  5. git pull umi-bug-github master
  6. npm i
  7. npm run start

Expected behavior 1. 2.
能正常显示首页

Context

  • Umi Version: 4.3.34
  • Node Version: v18.16.1
  • Platform: win11
Copy link

由于缺乏足够的信息,我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 19, 2024
@github-actions github-actions bot reopened this Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant