If Prismic endpoint is not available then complete website is down
See original GitHub issueAs per the documents I am injecting Prismic in the modules section of the nuxt.config.js.
modules: ['@nuxtjs/prismic' ],
prismic: {
endpoint: 'https://your-repo-name.cdn.prismic.io/api/v2',
linkResolver: '@/plugins/link-resolver',
htmlSerializer: '@/plugins/html-serializer'
}
I am integrating prismic content as blog in my existing nuxt website at /blogs, I realized that if in case Prismic URL is not available (if Prismic server is down or URL is incorrect) then the complete website doesn’t load at all (all routes are blocked).
Can you please suggest any workaround for this ?
Issue Analytics
- State:
- Created 3 years ago
- Comments:15
Top Results From Across the Web
If Prismic endpoint is not available then complete website is down #77
I am integrating prismic content as blog in my existing nuxt website at /blogs, I realized that if in case Prismic URL is...
Read more >NuxtJS primisic generate fails to init Prismic API, preventing ...
I'm having quite serious inconsistencies when i run a generate ... to If Prismic endpoint is not available then complete website is down...
Read more >The Prismic API - Documentation
An API that lets you modify resources on the server is called a write API. Prismic does not have a write API to...
Read more >How Do APIs Work? - Prismic
An endpoint is one part of a web API. Specifically, it is a URL that points to a server where a client can...
Read more >Changes in Prismic not appearing on your website - FAQs
If your website application relies on Prismic's Webhook system, then there is a chance that something went wrong in that process. You can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is still no proper solution, because of that we decided to move to another cms solution (Strapi). We cannot allow one module to break the whole website.
This is a worst case scenario but as @lihbr mentioned that they had an outage and any sort of outage on Prismic is directly impacting the website using it completely, even you are using Prismic only on your certain pages of website.
Ok I’ll leave open and see what I can do