Skip to content

Commit

Permalink
Update AkiBackendCommunication.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
trippyone committed Mar 2, 2024
1 parent 05bd32a commit c0879a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Networking/AkiBackendCommunication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ public string RemoteEndPoint
if (string.IsNullOrEmpty(m_RemoteEndPoint))
m_RemoteEndPoint = StayInTarkovHelperConstants.GetBackendUrl();

// Remove ending slash on URI for SIT.Manager.Avalonia
if(m_RemoteEndPoint.EndsWith("/"))
m_RemoteEndPoint = m_RemoteEndPoint.Substring(0, m_RemoteEndPoint.Length - 1);

return m_RemoteEndPoint;

}
Expand Down

0 comments on commit c0879a1

Please sign in to comment.