adjust sdk examples to use backend instead of

This commit is contained in:
Curt Tudor
2024-03-25 12:24:10 -06:00
parent 240fadfa4b
commit c4842a5a81
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ if __name__ == '__main__':
root = zrok.environment.root.Load()
try:
shr = zrok.share.CreateShare(root=root, request=ShareRequest(
BackendMode=zrok.model.TCP_TUNNEL_BACKEND_MODE,
BackendMode=zrok.model.PROXY_BACKEND_MODE,
ShareMode=zrok.model.PUBLIC_SHARE_MODE,
Frontends=['public'],
Target="http-server"