mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(api): resolve CA1852
This commit is contained in:
parent
a883477cb6
commit
d2ba27c712
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
namespace FilterLists.Directory.Api.Cors;
|
||||
|
||||
internal record CorsOptions
|
||||
internal sealed record CorsOptions
|
||||
{
|
||||
public const string Cors = "Cors";
|
||||
public string[] AllowedOrigins { get; init; } = [];
|
||||
|
|
@ -10,7 +10,7 @@ internal record CorsOptions
|
|||
/// <summary>
|
||||
/// Azure Static Web Apps staging environment origin patterns.
|
||||
/// </summary>
|
||||
internal record StagingOriginPatternsSettings
|
||||
internal sealed record StagingOriginPatternsSettings
|
||||
{
|
||||
public required string Start { get; init; }
|
||||
public required string End { get; init; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue