misc fixes:
- import from '@webrecorder/wabac' package for sw.js, though using github overrides for now - replay: show loading spinner on beforeunload event in iframe - embed: support passing basePageUrl param as part of extraConfig for custom top-level page
This commit is contained in:
@@ -304,6 +304,16 @@ class App extends LitElement
|
||||
}
|
||||
}
|
||||
|
||||
if (this.pageParams.get("basePageUrl")) {
|
||||
if (!this.loadInfo) {
|
||||
this.loadInfo = {extraConfig: {}}
|
||||
}
|
||||
if (!this.loadInfo.extraConfig) {
|
||||
this.loadInfo.extraConfig = {};
|
||||
}
|
||||
this.loadInfo.extraConfig.baseUrl = this.pageParams.get("basePageUrl");
|
||||
}
|
||||
|
||||
if (this.pageParams.get("customColl")) {
|
||||
if (!this.loadInfo) {
|
||||
this.loadInfo = {}
|
||||
|
||||
Reference in New Issue
Block a user