简体   繁体   中英

GatsbyJS - Blog posts not loading on direct link

I've been playing with Gatsby for a while now and absolutely love it.

I did come across a little issue that I have no clue how to fix.

I'm rendering blogs posts from my markdown files.

Functionality of the site works fine when you start the site by visiting the homepage / root. https://www.ronaldlangeveld.com/

However, I'm having issues with direct links to my blog posts.

I can access the blog posts by clicking on links from the homepage. However, when trying to access a specific page via direct link it only loads the header and not the post itself. Example https://www.ronaldlangeveld.com/deleting-facebook .

Here's my source code: https://github.com/ronaldlangeveld/gatsbysite

Anyone dealt with this before?

Cheers!

All I found was a 404 error before loading the service worker. After numerous attempts, the page is loaded without problems.

Apparently the problem is not GatsbyJS

肌酐

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM