Compute unique collection id using full sourceUrl if relative url given (#179)

* loading: update sourceToId to resolve any pathname to absolute URL (via document.baseURI) for computing unique id (eg. to avoid conflicts of two 'webarchive.wacz' loaded from different paths) - matches behavior used in embed
embed demo: fix typo, don't change default service worker name
This commit is contained in:
Ilya Kreymer
2023-06-15 09:45:01 -07:00
committed by GitHub
parent 99a034af49
commit b26f4b082d
6 changed files with 15 additions and 5 deletions
+3
View File
@@ -1,5 +1,8 @@
## CHANGES
v1.8.1
- Loading: Resolve sourceUrl to absolute url when computing default id
v1.8.0
- UI: Add 'Show All Pages' option to show non-seed pages that are previously only available via search
- Embeds: add 'swName' option to allow customizing 'sw.js' to a different filename