fidelity / loading fixes: (#159)

- Fidelity: Improved replay via unrewriting fixes of style urls, request/response urls (via wabac.js 2.15.3)
- Embeds: Support updating auth headers if custom headers provided in embed 'config'
- Dependencies: Update to wabac.js 2.15.3, wombat 3.4.6, Electron 23.1.1
- bump to 1.7.13
This commit is contained in:
Ilya Kreymer
2023-02-25 16:38:10 -08:00
committed by GitHub
parent d5b1c1b7fc
commit 05287749ca
7 changed files with 36 additions and 23 deletions
+8
View File
@@ -289,6 +289,14 @@ class Coll extends LitElement
...json
};
if (this.loadInfo && this.loadInfo.extraConfig && this.loadInfo.extraConfig.headers) {
const headers = this.loadInfo.extraConfig.headers;
await fetch(`${collApiPrefix}/updateAuth`, {
method: "POST",
body: JSON.stringify({headers})
});
}
if (!this.collInfo.title) {
this.collInfo.title = this.collInfo.filename;
}