public/proxy for 'http backend' (#99)

This commit is contained in:
Michael Quigley 2022-11-21 13:48:35 -05:00
parent ade25d21db
commit a9f76d1b40
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -104,6 +104,8 @@ func (self *httpBackendCommand) run(_ *cobra.Command, args []string) {
req := service.NewShareParams()
req.Body = &rest_model_zrok.ShareRequest{
ZID: env.ZId,
ShareMode: "public",
BackendMode: "proxy",
BackendProxyEndpoint: cfg.EndpointAddress,
AuthScheme: string(model.None),
}