Thanks for reaching out. Can you share your project repo with us? If not, can you share a repo that reproduces the issue you are seeing? This will help us look into your situation further. Thanks!
My schedule is really tight this week fixing the other things for the release, it would be a tremendous help if you could give a hint on how to fix it without a repo that reproduces the issue. If not, I totally understand that and I’ll try to create one later this week - the original is private.
If you could add a <base> tag to the <head> of your pages, it should work. Note that, it would modify the behaviour for all the relative links on your site.
Thank you for the suggestion, I was very optimistic about this - it makes sense that it should work, I added it correctly in the SSR phase, the tag appears in the header as seen in this screenshot with the full base url as the href value:
!!!Update: I found out that when the nf_country cookie is set only then is this issue present. Hopefully that is a good hint for you aswell
Edit 1:
P. S. I am using country based redirects with nf_country cookie when the language is switched - maybe that’s causing the issue when used with the Gatsby JS framework?
Are you having the nf_country=hu cookie? If you click on the “HU”, it should set it or you can set it manually as well. Please specify if you have the cookie set and you still get the assets correctly.
But it seems to be working like this, just need to add more specific redirect rules instead of the wildcard one, because that redirects the asset requests too as it seems.