apiManagerProxy: Fix mtcute wasm URL rewrite for backtick-minified strings#2
Conversation
…rings The minifier emits the hashed wasm filename as a backtick template literal, which the absolutize regex did not match, so getWasmUrl ran new URL() against the blob: worker URL and threw, breaking all crypto.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughIn ChangesWasm path rewrite regex fix
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The minifier emits the hashed wasm filename as a backtick template literal, which the absolutize regex did not match, so getWasmUrl ran new URL() against the blob: worker URL and threw, breaking all crypto.
Summary by CodeRabbit