config: add static file root

This commit is contained in:
Oliver Gugger
2019-10-18 15:10:13 +02:00
parent a44e9fbd22
commit c8cbeb9ab1
5 changed files with 13 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ func TestProxy(t *testing.T) {
}}
auth := auth.NewMockAuthenticator()
proxy, err := proxy.New(auth, services)
proxy, err := proxy.New(auth, services, "static")
if err != nil {
t.Fatalf("failed to create new proxy: %v", err)
}