Updated portal preview iframe url
no issue - Updates url to load portal preview to use more specific path by appending `/preview` in hash path - Allows portal script to validate preview mode easily instead of guessing based on query string
This commit is contained in:
parent
dea7a3da03
commit
fd5794cde9
|
@ -72,7 +72,7 @@ export default ModalComponent.extend({
|
|||
|
||||
portalPreviewUrl: computed('selectedButtonStyle', 'buttonIcon', 'signupButtonText', 'page', 'isFreeChecked', 'isMonthlyChecked', 'isYearlyChecked', 'settings.{portalName,portalButton,accentColor}', function () {
|
||||
const baseUrl = this.config.get('blogUrl');
|
||||
const portalBase = '/#/portal';
|
||||
const portalBase = '/#/portal/preview';
|
||||
const settingsParam = new URLSearchParams();
|
||||
settingsParam.append('button', this.settings.get('portalButton'));
|
||||
settingsParam.append('name', this.settings.get('portalName'));
|
||||
|
|
Loading…
Reference in New Issue