Add back http-root

This commit is contained in:
Thomas Boerger
2019-12-09 16:13:26 +01:00
parent 3b82714a78
commit 690e80aaec
8 changed files with 93 additions and 26 deletions
-7
View File
@@ -1,7 +1,6 @@
package http
import (
"github.com/owncloud/ocis-phoenix/pkg/assets"
"github.com/owncloud/ocis-phoenix/pkg/config"
"github.com/owncloud/ocis-phoenix/pkg/flagset"
"github.com/owncloud/ocis-phoenix/pkg/service/v0"
@@ -41,12 +40,6 @@ func Server(opts ...Option) (http.Service, error) {
middleware.Logger(
options.Logger,
),
middleware.Static(
assets.New(
assets.Logger(options.Logger),
assets.Config(options.Config),
),
),
),
)