2
I have the following directories in my angular application:
node_modules/
src/
--client/
----/app/
----/index.html
--server/
package.json
I would like when the user accesses my site he redirects directly to src/client/index.html and hides src/client/.
What’s the best way to do it? Thanks.
It would be possible to post the complete tree of your directories, and your stack (boot file) of your nodejs server (I assume your backend is Node by 'node_modules/') ?
– Brunno
I don’t have any server yet, but I’ll post the rest of the tree
– Paulo Ricardo Jansen
You don’t necessarily need to use Node JS to serve your application. You can use Apache, Nginx, IIS or any other webserver that suits you as the angled wheel on the client machine
– user2612329