mirror of
https://github.com/openziti/zrok.git
synced 2025-01-10 16:08:20 +01:00
strip any trailing slashes on api endpoint
This commit is contained in:
parent
e1f6e1866a
commit
4daf99c49e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user