404 File not found but looking in folder

Hello, i am doing something where i have to access the files of a directory from my site but i get File not found when doing it from github. Is there a way to disable this and just use the default?
Here is what i want to come up