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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user