fix: restore docker web runtime routing#54
Closed
lWolvesl wants to merge 2 commits intoqxcnm:mainfrom
Closed
Conversation
Owner
|
感谢这次整理。PR 里提到的 Docker / Web 路径、Web 初始化探活、以及前端路由相关问题,当前 由于这个 PR 现在和主线冲突较多,而且对应的问题已被后续改动覆盖,这边先按 superseded 关闭,不再继续合并。如果你确认在最新 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更摘要
变更摘要
crates/docker下 compose 与镜像构建链路,并同步更新运行与部署指南中的 Docker 说明initializeService(...)未实际执行,前端无法正确探活后端 service/accounts等前端路由时不存在对应真实文件,服务端虽会回退返回index.html,但响应类型未按实际命中的 HTML 资源正确设置,导致浏览器将响应识别为下载(修复后会把响应内容设置为text/html从而防止下载并正常跳转),此条修复与未合并的Pull Request #52 应存在类似修复位置d3cb5ec版本可以无冲突合并,但本次未测试app端的效果,代码逻辑上对app端无影响,因此请对https://github.com/lWolvesl/Codex-Manager.git测试后再选择是否合并,建议只合并 docker 构建相关问题,后端刺探和路由响应可以在彻底完成重构后再选用方案改动范围
主要文件
验证
pnpm -C apps run testpnpm -C apps run buildpnpm -C apps run test:uicargo test --workspace