mirror of
https://github.com/openziti/zrok.git
synced 2025-08-14 18:18:30 +02:00
add trx to action interfaces; implement limit and relax for share (#276)
This commit is contained in:
committed by
Kenneth Bingham
parent
bf48ddec76
commit
427ef7e3f9
@ -115,6 +115,9 @@ func (h *shareHandler) Handle(params share.ShareParams, principal *rest_model_zr
|
||||
BackendProxyEndpoint: ¶ms.Body.BackendProxyEndpoint,
|
||||
Reserved: reserved,
|
||||
}
|
||||
if len(params.Body.FrontendSelection) > 0 {
|
||||
sshr.FrontendSelection = ¶ms.Body.FrontendSelection[0]
|
||||
}
|
||||
if len(frontendEndpoints) > 0 {
|
||||
sshr.FrontendEndpoint = &frontendEndpoints[0]
|
||||
} else if sshr.ShareMode == "private" {
|
||||
|
Reference in New Issue
Block a user