diff options
| -rw-r--r-- | plugins/warp/src/container/network/client.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/warp/src/container/network/client.rs b/plugins/warp/src/container/network/client.rs index 3d0af057..ad31b0e5 100644 --- a/plugins/warp/src/container/network/client.rs +++ b/plugins/warp/src/container/network/client.rs @@ -46,7 +46,11 @@ impl NetworkClient { Self { provider, headers, - server_url, + // We place the '/' already in the materialized URLs we query, so strip it here. + server_url: server_url + .strip_suffix('/') + .unwrap_or(&server_url) + .to_string(), } } |
