Implement per-site index (#1906)

This commit is contained in:
Mohammed Al Sahaf
2017-10-30 00:13:10 +03:00
committed by Toby Allen
parent fc75527eb5
commit f7a70266ed
13 changed files with 110 additions and 24 deletions
+2 -1
View File
@@ -393,7 +393,8 @@ func TestMiddlewareShouldPushIndexFile(t *testing.T) {
{Path: "/index.css", Method: http.MethodGet},
}},
},
Root: http.Dir(root),
Root: http.Dir(root),
indexPages: []string{indexFile},
}
indexFilePath := filepath.Join(root, indexFile)