Skip to content

Commit

Permalink
Fix wss url trim end
Browse files Browse the repository at this point in the history
  • Loading branch information
cristipufu committed Aug 25, 2024
1 parent 33ab1a7 commit 5da3cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tunnelite.Server/WsTunnel/WsTunnelMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ public static string ConvertHttpToWsUri(string? httpUrl)
Query = query
};

return wsUri.Uri.ToString();
return wsUri.Uri.ToString().TrimEnd(['/']);
}
}

0 comments on commit 5da3cfd

Please sign in to comment.