summaryrefslogtreecommitdiff
path: root/pkg/web/routes.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/web/routes.go')
-rw-r--r--pkg/web/routes.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/web/routes.go b/pkg/web/routes.go
index 69c2333..b2a7643 100644
--- a/pkg/web/routes.go
+++ b/pkg/web/routes.go
@@ -5,5 +5,8 @@ import (
)
func NewRoutes(issuer string, keyData []byte) http.Handler {
- return NewHttpContext(issuer, keyData).Router()
+ return NewHttpContext(&Configuration{
+ Issuer: issuer,
+ KeyData: keyData,
+ }).Router()
}