Release v1.0.0 #16

Merged
Wesser merged 492 commits from release/v1.0.0 into master 2025-02-12 09:19:32 +03:00
275 changed files with 13840 additions and 98 deletions
Showing only changes of commit 74ba4e901a - Show all commits

View File

@ -45,7 +45,7 @@ public static class UrlHelper
public static string GetApiUrl(this HttpContext context, string apiPath = "") public static string GetApiUrl(this HttpContext context, string apiPath = "")
{ {
var scheme = GetCurrentScheme(context); var scheme = GetCurrentScheme(context);
var domain = GetCurrentDomain(context).TrimEnd('/'); var domain = GetCurrentDomain(context).TrimEnd('/').Replace("localhost", "127.0.0.1");
var port = context.Request.Host.Port; var port = context.Request.Host.Port;
var portString = port.HasValue && port != 80 && port != 443 ? $":{port}" : string.Empty; var portString = port.HasValue && port != 80 && port != 443 ? $":{port}" : string.Empty;