mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Renamed membersjs script name to portal
no issue - The members.js package was renamed as `@tryghost/portal`, which also updated the unpkg link for the script - Updates the unpkg script for portal to use the new package name and path
This commit is contained in:
parent
43153ba31e
commit
78379e76c1
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ function getMembersHelper() {
|
|||
|
||||
let membersHelper = `<script defer src="${getAssetUrl('public/members.js', true)}"></script>`;
|
||||
if (config.get('enableDeveloperExperiments') || config.get('portal')) {
|
||||
membersHelper = `<script defer src="https://unpkg.com/@tryghost/members-js@latest/umd/members.min.js" data-ghost="${urlUtils.getSiteUrl()}"></script>`;
|
||||
membersHelper = `<script defer src="https://unpkg.com/@tryghost/portal@latest/umd/portal.min.js" data-ghost="${urlUtils.getSiteUrl()}"></script>`;
|
||||
membersHelper += (`<style type='text/css'> ${templateStyles}</style>`);
|
||||
}
|
||||
if ((!!stripeDirectSecretKey && !!stripeDirectPublishableKey) || !!stripeConnectAccountId) {
|
||||
|
|
Loading…
Add table
Reference in a new issue