bug: 托管到git静态文件服务后,只要url里加了?locale=zh-CN页面就无限重定向直到失败
Version
2.2.14
OS Version
macOS 11.4 (20F71)
Node.js Version
v18.13.0
Browser Version
chrome 119.0.6045.123(正式版本) (x86_64)
Link to minimal reproduction
none
Steps to reproduce
rt 本地开发及本地服务正常,托管到内部 git 静态文件服务后,codeDemo 的iframe加载的url里多了 locale=zh-CN 参数,导致demo无法正常加载一致重定向,去掉参数后可以正常访问。 想咨询下如何解决,以及不需要多语言的话如何关闭多语言。
What is expected?
想咨询下如何解决,以及不需要多语言的话如何关闭多语言。
What is actually happening?
codeDemo 的页面无法加载
Any additional comments? (optional)
No response
query 是正常的 url,应该看下站点托管服务为什么会发生重定向?
默认配置就是单语言,但默认语言的确可以不传 locale query,能绕过你遇到的问题,有兴趣可以来个 PR
Hello @Horve. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please be sure to fill in the default template in the Pull Request, provide changelog/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!
你好 @Horve,我们完全同意你的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。