The weirdest thing is that locally everything works. When I run locally with
hugo server everything is dandy. But when I build the site with
hugo and start a webserver in the generated
public directory (I’m using
caddy fileserver for that) it no longer does. (So it’s not an issue with Netlify.)
main.js is present and I think it loads properly.
I’ve tried both Firefox and Chrome.
What else can I try?
Thanks in advance.