cicd
This commit is contained in:
9
PARR.API/Settings/CorsSettings.cs
Normal file
9
PARR.API/Settings/CorsSettings.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user