add cors #12
Annotations
6 warnings
build:
api/framework/Infrastructure/Cors/CorsOptions.cs#L4
Non-nullable property 'AllowedOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
api/framework/Infrastructure/Cors/CorsOptions.cs#L4
Change 'AllowedOrigins' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
build:
api/framework/Infrastructure/Cors/CorsOptions.cs#L4
Change 'List<string>' in 'CorsOptions.AllowedOrigins' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
|
build:
api/framework/Infrastructure/Cors/CorsOptions.cs#L4
Non-nullable property 'AllowedOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
api/framework/Infrastructure/Cors/CorsOptions.cs#L4
Change 'AllowedOrigins' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
build:
api/framework/Infrastructure/Cors/CorsOptions.cs#L4
Change 'List<string>' in 'CorsOptions.AllowedOrigins' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
|