структура

This commit is contained in:
Mikhail Kuznetsov
2023-05-17 16:00:50 +10:00
parent 7730559eca
commit 5338c489aa
18 changed files with 336 additions and 55 deletions

View File

@@ -0,0 +1,9 @@
namespace PARR_API.Settings
{
public class CorsSettings
{
public string AllowedHosts { get; set; } = string.Empty;
public string[] AllowHostsArray => AllowedHosts.Split(';').Select(t => t.Trim()).ToArray();
}
}