Random Bugs (#2531)
This commit is contained in:
parent
0c70e80420
commit
4e1c66331f
27 changed files with 232 additions and 178 deletions
|
|
@ -73,7 +73,7 @@ public class AccountService : IAccountService
|
|||
basePart = serverSettings.HostName;
|
||||
if (!serverSettings.BaseUrl.Equals(Configuration.DefaultBaseUrl))
|
||||
{
|
||||
var removeCount = serverSettings.BaseUrl.EndsWith("/") ? 2 : 1;
|
||||
var removeCount = serverSettings.BaseUrl.EndsWith('/') ? 1 : 0;
|
||||
basePart += serverSettings.BaseUrl.Substring(0, serverSettings.BaseUrl.Length - removeCount);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue