Startup file change

epiz_29666493

I am using next.js. i want to replace my startup file with index.js can i do that ?

I am not familiar with next.js, but this handbook might help!

You can only use a .html or .php file

As far as I can tell, Next.js is a framework that runs in the browser. So the startup file needs to be configured somewhere in the initial HTML page that loads the app. That’s not dependent on the hosting.