codebrowser icon indicating copy to clipboard operation
codebrowser copied to clipboard

Use index.html in links where appropriate

Open dschmidt opened this issue 6 years ago • 0 comments

For example in the top-level index.html code like this is generated: <tr><td class='folder'><a href='myProject/' class='opener' data-path='myProject'>[+]</a> <a href='myProject/'>myProject/</a></td><td></td></tr>

The myProject folder does contain an index.html which is served by a properly configured webserver. If you just look at local files or an improperly configured web server, you will probably receive an error or look at an autogenerated index. One example where you don't really have control over the webserver is when serving artifacts from continous integration. For this cases I would suggest to just always link to the index.html.

If someone prefers "pretty urls", this could be an option of the generator or the webserver would need to be configured to redirect from /index.html to /.

dschmidt avatar Apr 26 '18 13:04 dschmidt