diff --git a/sdk/python/sdk/zrok/zrok/environment/root.py b/sdk/python/sdk/zrok/zrok/environment/root.py index a9df8946..242ef51a 100644 --- a/sdk/python/sdk/zrok/zrok/environment/root.py +++ b/sdk/python/sdk/zrok/zrok/environment/root.py @@ -72,7 +72,7 @@ class Root: apiEndpoint = self.env.ApiEndpoint frm = "env" - return ApiEndpoint(apiEndpoint, frm) + return ApiEndpoint(apiEndpoint.rstrip("/"), frm) def IsEnabled(self) -> bool: return self.env != Environment()