Commit a578c438 authored by Matthew Holt's avatar Matthew Holt

browse: Add txt files to list of default files

parent 74b75803
......@@ -131,8 +131,10 @@ func (fi FileInfo) HumanModTime(format string) string {
var IndexPages = []string{
"index.html",
"index.htm",
"index.txt",
"default.html",
"default.htm",
"default.txt",
}
func directoryListing(files []os.FileInfo, urlPath string, canGoUp bool) (Listing, error) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment