After deployment my site displays my 404.js file that is inside of my pages folder. The pages folder is inside of my src folder.
I have a public folder that has a 404.html and a index.html file.
What index.html do I put at the root of my folder?
I tried putting an index.html file in my root and then inside of this file, I placed the path to the index.html that is inside of my public folder. I did this via the src path inside of the index.html file I am currently in. ie src=’./portfolio/public/index.html’. This does not work. I get the same error.
What index.html file do I put in the root to solve this issue?