We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
/
What's confusing is that the docs make it seem much more complicated:
https://prismic.io/docs/in-website-preview#?lang=node
Doesn't app.route('/preview').get(prismic.preview); negate the need for most of the code?
app.route('/preview').get(prismic.preview);
Or should p.getByUID('page', 'get-started', function (err, pagecontent) { do something different?
p.getByUID('page', 'get-started', function (err, pagecontent) {
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
There has been a bug fix recently in the Javascript kit for previews. Try updating to 2.1.3 (I'll update the package.json in this project).
Sorry, something went wrong.
I've released a new version of this lib, could you try it?
erwan
No branches or pull requests
Hi!
/
showing the original, published content.What's confusing is that the docs make it seem much more complicated:
Doesn't
app.route('/preview').get(prismic.preview);
negate the need for most of the code?Or should
p.getByUID('page', 'get-started', function (err, pagecontent) {
do something different?Thanks!
The text was updated successfully, but these errors were encountered: