Using the example in the docs with version 1.0.1
<script>
let ghostSearch = new GhostSearch({
key: '22444f78447824223cefc48062', // This is just a demo key. Replace the key with a real one. See Step 3.
url: 'https://demo.ghost.io', // This is just a demo host. Replace the demo url with a real one. See Step 3.
})
</script>
leads to a log of Content API Client Library host missing. Please set the host. Must not end in a trailing slash. Changing key to host fixes this.
Using the example in the docs with version
1.0.1leads to a log of
Content API Client Library host missing. Please set the host. Must not end in a trailing slash.Changingkeytohostfixes this.