forked from xiongyuxing/tiku-backend.net
13 lines
565 B
C#
13 lines
565 B
C#
namespace Tiku.Api.Options;
|
|
|
|
public sealed class TenantResolutionOptions
|
|
{
|
|
public const string SectionName = "Tenancy:Resolution";
|
|
|
|
public string[] PlatformHosts { get; set; } = ["localhost", "127.0.0.1"];
|
|
public string[] ExemptPathPrefixes { get; set; } = ["/health", "/openapi", "/scalar"];
|
|
public string[] TenantCodePathPrefixes { get; set; } =
|
|
["/api/auth", "/api/tenant", "/api/catalog", "/api/assets", "/api/scoreline", "/api/referral", "/api/commerce/payments/notify"];
|
|
public string[] TrustedProxyAddresses { get; set; } = [];
|
|
}
|