diff --git a/README.md b/README.md index 2e4e112615..df0b78b920 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ ## Install -You can download prebuilt binaries from the GitHub releases or from our [download mirrors](http://download.owncloud.com/ocis/graph/). For instructions how to install this on your platform you should take a look at our [documentation](https://owncloud.github.cio/ocis-graph/) +You can download prebuilt binaries from the GitHub releases or from our [download mirrors](http://download.owncloud.com/ocis/graph/). For instructions how to install this on your platform you should take a look at our [documentation](https://owncloud.github.io/ocis-graph/) ## Development diff --git a/pkg/service/v0/service.go b/pkg/service/v0/service.go index c2dd39f68b..97adfa3a92 100644 --- a/pkg/service/v0/service.go +++ b/pkg/service/v0/service.go @@ -6,6 +6,7 @@ import ( "github.com/go-chi/chi" "github.com/go-chi/render" + "github.com/owncloud/ocis-graph/pkg/config" msgraph "github.com/yaegashi/msgraph.go/v1.0" ldap "gopkg.in/ldap.v3" ) @@ -25,7 +26,8 @@ func NewService(opts ...Option) Service { m.Use(options.Middleware...) svc := Graph{ - mux: m, + config: options.Config, + mux: m, } m.HandleFunc("/v1.0/me", svc.Me) @@ -36,7 +38,8 @@ func NewService(opts ...Option) Service { // Graph defines implements the business logic for Service. type Graph struct { - mux *chi.Mux + config *config.Config + mux *chi.Mux } // ServeHTTP implements the Service interface.