Fix relative path detection in stylesheet URLs (#1130)

* Fix relative path detection in stylesheet URLs

* Add a check for www.

* Update packages/rrweb-snapshot/src/snapshot.ts

* Update packages/rrweb-snapshot/src/snapshot.ts

* Create large-ants-prove.md

* Update large-ants-prove.md

---------

Co-authored-by: Justin Halsall <Juice10@users.noreply.github.com>
Co-authored-by: Yun Feng <yun.feng0817@gmail.com>
This commit is contained in:
Prateek Karnal
2023-02-15 07:42:29 -08:00
committed by GitHub
parent 06031a6486
commit f6f07e9533
2 changed files with 9 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
---
'rrweb-snapshot': patch
'rrweb': patch
---
Fix: Make relative path detection in stylesheet URLs to detect more types of URL protocols when inlining stylesheets.