fix(server): allow dot-directory paths when serving project files#763
Draft
YuchenWell wants to merge 1 commit into
Draft
fix(server): allow dot-directory paths when serving project files#763YuchenWell wants to merge 1 commit into
YuchenWell wants to merge 1 commit into
Conversation
YuchenWell
marked this pull request as draft
July 17, 2026 02:18
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.
express/send 默认 dotfiles: 'ignore',路径中任何以 "." 开头的目录段都会被判
404,再经兜底错误中间件变成 500。当项目位于点目录下时(如 PinK 自动化的
.agent/workspaces、用户的 ~/.projects/xxx),场景编辑器请求
/scripting/engine/effect-settings 拿到 500 错误页,引擎将其当二进制解析,在
loadLayoutGraphData 抛 RangeError,初始化失败,场景视口黑屏。
preview / scene / builder 统一从此导入
/static/web、/scripting/systemjs extras