mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-01 07:50:26 +02:00
avoid null reproxy handler (#3345)
This commit is contained in:
parent
2b819b37f1
commit
a15106ebe2
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ func New(
|
|||
fileManager *filemgr.Manager,
|
||||
reproxyHandler *reproxy.Handler,
|
||||
) *Builder {
|
||||
if reproxyHandler == nil {
|
||||
reproxyHandler = reproxy.New()
|
||||
}
|
||||
return &Builder{
|
||||
localGRPCAddress: localGRPCAddress,
|
||||
localHTTPAddress: localHTTPAddress,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue