Updated readme

Removes comment about explicit need for admin url not ending in trailing slash, we handle trailing slash in code now.
This commit is contained in:
Rish 2020-04-28 01:12:10 +05:30
parent 9bf219459b
commit e7e9ceab7d

View File

@ -13,7 +13,7 @@ To load members.js in any Ghost theme, add below code in theme's `default.hbs` b
<script type="text/javascript" src="https://unpkg.com/@tryghost/members-js@0.2.1"></script>
<script>
// Initializes members.js
// adminUrl: Your API domain, must not end in a trailing slash(Ref: https://ghost.org/docs/api/v3/javascript/admin/#authentication)
// adminUrl: Your API domain (Ref: https://ghost.org/docs/api/v3/javascript/admin/#authentication)
window.GhostMembers.init({
adminUrl: 'https://youradminurl.com'
});