Gatsby & Trailing slashes

When I visit a page on my site:

It seems to redirect in the browser to the / version, and then remove the slash a moment later.
goes to
and then to

I’m not able to reproduce this on my localhost. What’s going on here?

I think I’ve fixed this issue, by disabling Netlify’s asset optimization pipeline.

Hey @chrism2671,
Glad to hear this, and thanks for coming back to report your fix :tada:

I’m adding this other community post for others who may come across issues related to asset optimization and trailing slashes: