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
239 changed files with 10383 additions and 98 deletions
Showing only changes of commit ac4804e864 - Show all commits

View File

@ -7,7 +7,7 @@ namespace Mirea.Api.Endpoint.Common.Services;
public static class UrlHelper public static class UrlHelper
{ {
public static string CurrentDomain(HttpContext context) => public static string CurrentDomain(HttpContext context) =>
context.Request.Headers["X-Forwarded-Host"].FirstOrDefault() ?? context.Request.Host.Value; context.Request.Headers["X-Forwarded-Host"].FirstOrDefault() ?? context.Request.Host.Host;
private static string CreateSubPath(string? path) private static string CreateSubPath(string? path)
{ {