Skip to content

fix: 支持 file:// 协议子应用路径#1600

Closed
chenhuang444 wants to merge 2 commits into
jd-opensource:masterfrom
chenhuang444:fix/file-protocol-support
Closed

fix: 支持 file:// 协议子应用路径#1600
chenhuang444 wants to merge 2 commits into
jd-opensource:masterfrom
chenhuang444:fix/file-protocol-support

Conversation

@chenhuang444

Copy link
Copy Markdown

当前情况:micro-app 传入 url 为 file:// 协议路径时,会报错 [micro-app] app xxx: Invalid attribute url

使用场景:移动端、electron 桌面端等情景,加载已下载到本地的子应用 webapp 资源包

@raoenhui

Copy link
Copy Markdown
Collaborator

这边pr已经解决了不支持file协议的问题,更加全面详情可看:#1695

@raoenhui raoenhui self-requested a review June 16, 2026 08:44
@raoenhui raoenhui closed this Jun 16, 2026
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

Successfully merging this pull request may close these issues.

2 participants