So I've seen this issue around a few times but the solutions haven't worked for me. I'm exporting my nextjs app as static content, i.e. to out/index.html. However, when I visit that file in a browser, there's no CSS/JS.
If I understand correctly, this is because all of the hrefs in the html file use an absolute path '/' instead of a relative path. So, I tried changing all of the paths to be "./_next/..." but this didn't really work.
What can I try next?