mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue