mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
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:
parent
9bf219459b
commit
e7e9ceab7d
@ -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'
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user