mirror of
https://github.com/caddyserver/caddy.git
synced 2026-06-06 22:15:18 -04:00
Implement per-site index (#1906)
This commit is contained in:
committed by
Toby Allen
parent
fc75527eb5
commit
f7a70266ed
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user