I have a website built with html CSS and JavaScript, its working on Firebase platform.
I did a duplicate content test on siteliner.com, the results showed me 100% duplication between index.html file and home page.
Just note that the file I was working on is index.html I don't know if that matters but at the moment the index page's power page is 100 compared to the home page which stands at 33
After reading a little about the topic, I realized that to avoid SEO problems I need to redirect 301. I did redirect from the homepage to index.html.
My question is split into two:
Have I done right by redirecting from the home page to index.html and not vice versa?
Do I need to do something in addition to make sure that there is no harm to SEO?