mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
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
3b78973a21
commit
bb53379eb1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue