Gridsome: Router is working only when I refresh the page #weird

Hi folks,

I’m getting a very strange issue.
This is the website I’m working on.

My router works only when I refresh the page :

  1. Go to https://friendly-swanson-e5ce80.netlify.com/
  2. Ctrl + R :open_mouth:
  3. Click on the button “Contactez-nous !”

But if you don’t refresh the page the button isn’t working.

Is anyone has an idea?
Thanks for helpiing!

hi there, welcome.

is this relevant at all?

1 Like

hi @perry
thanks for the link, it works now!

for whom interested in Gridsome, I created a “static” directory inside src and add a file “_redirects” with this line:
/* /index.html 200