Why do I have a directory listing on my project when it's not on a web server, and how can I disable it

30 Views Asked by At

When I visit my project on http://localhost:8080/, instead of taking me to the homepage it takes me to a directory listing of all my files. When I look up how to disable it every solution has to do with different web servers, but my project isn't being hosted on a web server. In fact it isn't even deployed online, so I'm not sure what I can do to disable it.

0

There are 0 best solutions below