mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Bumped Portal to v0.15.0
no refs - Adds FirstPromoter integration based on new settings - Cleanup
This commit is contained in:
parent
a1663bea91
commit
65de727a15
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ function getMembersHelper() {
|
||||||
const stripeDirectPublishableKey = settingsCache.get('stripe_publishable_key');
|
const stripeDirectPublishableKey = settingsCache.get('stripe_publishable_key');
|
||||||
const stripeConnectAccountId = settingsCache.get('stripe_connect_account_id');
|
const stripeConnectAccountId = settingsCache.get('stripe_connect_account_id');
|
||||||
|
|
||||||
let membersHelper = `<script defer src="https://unpkg.com/@tryghost/portal@~0.14.0/umd/portal.min.js" data-ghost="${urlUtils.getSiteUrl()}"></script>`;
|
let membersHelper = `<script defer src="https://unpkg.com/@tryghost/portal@~0.15.0/umd/portal.min.js" data-ghost="${urlUtils.getSiteUrl()}"></script>`;
|
||||||
membersHelper += (`<style> ${templateStyles}</style>`);
|
membersHelper += (`<style> ${templateStyles}</style>`);
|
||||||
if ((!!stripeDirectSecretKey && !!stripeDirectPublishableKey) || !!stripeConnectAccountId) {
|
if ((!!stripeDirectSecretKey && !!stripeDirectPublishableKey) || !!stripeConnectAccountId) {
|
||||||
membersHelper += '<script async src="https://js.stripe.com/v3/"></script>';
|
membersHelper += '<script async src="https://js.stripe.com/v3/"></script>';
|
||||||
|
|
Loading…
Add table
Reference in a new issue