I don’t think creating an issue on something that’s working ‘as expected’ is a good idea.
However, about the 301 redirect, it’s because the redirect is not forced,
index.html exists, it’s not getting redirected. Either remove the html file or change the rule to
Furthermore, I think it’s working in Netlify CLI because of the Next.JS server that’s working locally. That might be able to handle the rendering of the page. The 200 rewrite’s working fine, it’s just that because the function doesn’t have the data for
/index.html, it’s unable to generate the HTML for that page. It needs to see
/home in the address bar for it to work.
Holding off with creating an issue for the time being is what I would advice.