mirror of
https://github.com/mitchell/lambdarouter.git
synced 2025-12-17 05:57:22 +00:00
Added context to NewAPIGRouter
This commit is contained in:
parent
639d28c78e
commit
4399e41cd2
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ func NewAPIGRouter(cfg *APIGRouterConfig) *APIGRouter {
|
||||||
params: map[string]string{},
|
params: map[string]string{},
|
||||||
prefix: cfg.Prefix,
|
prefix: cfg.Prefix,
|
||||||
headers: cfg.Headers,
|
headers: cfg.Headers,
|
||||||
|
context: cfg.Context,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue