Skip to content

调整 service_worker init#543

Merged
CodFrm merged 1 commit intoscriptscat:mainfrom
cyfung1031:fix_err6
Jul 14, 2025
Merged

调整 service_worker init#543
CodFrm merged 1 commit intoscriptscat:mainfrom
cyfung1031:fix_err6

Conversation

@cyfung1031
Copy link
Copy Markdown
Collaborator

Screenshot 2025-07-14 at 21 24 58

原因是 service_worker 的 init 中
先做了 await self.clients.matchAll({ includeUncontrolled: true, type: "window" }); 再做 self.addEventListener("message"

因此要改次序

@CodFrm CodFrm merged commit 0341d3c into scriptscat:main Jul 14, 2025
2 checks passed
@cyfung1031 cyfung1031 deleted the fix_err6 branch August 23, 2025 20:05
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