mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
Bumped portal to 1.0.0-rc
no refs
This commit is contained in:
parent
606212d187
commit
b0ea919e42
@ -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.15.0/umd/portal.min.js" data-ghost="${urlUtils.getSiteUrl()}"></script>`;
|
let membersHelper = `<script defer src="https://unpkg.com/@tryghost/portal@~1.0.0-rc/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…
Reference in New Issue
Block a user