Just added him as a collaborator @hrishikesh
nathanmartin:
@hamster That’s just showing that if a regular web server were to serve the files from your .next folder that there is seemingly no index.html file… which is why it’s displaying a directory listing.
Something that I just discovered, which may point you in the right direction is that if you navigate to any sub-url, for example:
https://chimerical-fudge-9e7f81.netlify.app/literally-anything Tron Node
Then click on the Go back to the dashboard button, your app loads.
Do you have some redirects in place?
How can i set that type of issue on my website. I also got directories on my home page. But if i open with permalink it is fine.
hamster
August 11, 2022, 11:47am
27
Changed my build argument to ‘next build && next export’ and its working now
That would work if you are only having a static website. If you use SSR/ISR, etc. Nick confirmed that you would have to remove index.html from the public folder in your repo for this to work.
SamO
September 22, 2023, 4:17pm
31
Can you share the name of your site please?