Updated portal initilization and multiple newsletter handling (#14803)

- portal now uses content API to load site data
- handles auto unsubscribe for multiple newsletters
- design refinements
- more test coverage
- better fixtures
This commit is contained in:
Rishabh Garg 2022-05-12 20:26:31 +05:30 committed by GitHub
parent f321ff2760
commit e44d089dbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,8 +128,8 @@
"emailAnalytics": true
},
"portal": {
"url": "https://unpkg.com/@tryghost/portal@~1.22.0/umd/portal.min.js",
"version": "1.20"
"url": "https://unpkg.com/@tryghost/portal@~2.0.0/umd/portal.min.js",
"version": "2.0"
},
"tenor": {
"publicReadOnlyApiKey": null,