diff --git a/ghost/admin/app/components/gh-brand-settings-form.js b/ghost/admin/app/components/gh-brand-settings-form.js index f24c98a84c..607ec36fda 100644 --- a/ghost/admin/app/components/gh-brand-settings-form.js +++ b/ghost/admin/app/components/gh-brand-settings-form.js @@ -142,7 +142,9 @@ export default class GhBrandSettingsFormComponent extends Component { 'x-ghost-preview': this.previewData } }; - const frontendUrl = this.config.get('blogUrl'); + + // TODO: config.blogUrl always removes trailing slash - switch to always have trailing slash + const frontendUrl = `${this.config.get('blogUrl')}/`; const previewContents = yield this.ajax.post(frontendUrl, ajaxOptions); // inject extra CSS to disable navigation and prevent clicks